blob: 6d1fe057ab52ee3f679c95f3f736d491f8a7f1b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
qmux_socket(rild);
binder_use(rild)
allow rild ssr_device:chr_file r_file_perms;
r_dir_file(rild, sysfs_ssr)
r_dir_file(rild, sysfs_esoc)
allow rild sysfs_esoc:file w_file_perms;
binder_call(rild, mediaserver)
binder_call(rild, audioserver)
binder_call(audioserver, rild)
#Rule for RILD to talk to peripheral manager
use_per_mgr(rild);
allow rild rild_socket:chr_file r_file_perms;
unix_socket_connect(rild, rild, time_daemon)
allow rild system_health_monitor_device:chr_file r_file_perms;
dontaudit rild domain:dir r_dir_perms;
allow rild time_daemon:unix_stream_socket connectto;
r_dir_file(rild, netmgrd)
#Allow access to netmgrd socket
netmgr_socket(rild);
allow rild { mediaserver_service audioserver_service }:service_manager find;
# Rule for RILD to talk to peripheral manager
use_per_mgr(rild);
#diag
userdebug_or_eng(`
diag_use(rild)
')
|