msm8974-common: sepolicy: Resurrect alarm_device
* Both our ril_daemon, via libsec-ril*.so, and our time_daemon need access to this device node Change-Id: Ib787f45596bb6aa606bab102a5bd1cb93eb645a4
This commit is contained in:
parent
d6b1712058
commit
f3cd79f3ae
@ -1,3 +1,5 @@
|
||||
type alarm_device, dev_type, mlstrustedobject;
|
||||
|
||||
type proc_bt_sleep, fs_type, proc_type;
|
||||
|
||||
type sysfs_camera, fs_type, sysfs_type;
|
||||
|
@ -8,6 +8,7 @@
|
||||
/data/.wifiver.info u:object_r:wifi_data_file:s0
|
||||
|
||||
# device nodes
|
||||
/dev/alarm u:object_r:alarm_device:s0
|
||||
/dev/batch_io u:object_r:sensors_device:s0
|
||||
/dev/bcm2079x u:object_r:nfc_device:s0
|
||||
/dev/btlock u:object_r:bluetooth_device:s0
|
||||
|
@ -1,5 +1,7 @@
|
||||
set_prop(rild, net_radio_prop)
|
||||
|
||||
allow rild alarm_device:chr_file rw_file_perms;
|
||||
|
||||
allow rild radio_data_file:dir rw_dir_perms;
|
||||
allow rild radio_data_file:file create_file_perms;
|
||||
allow rild radio_data_file:lnk_file read;
|
||||
|
1
sepolicy/common/time_daemon.te
Normal file
1
sepolicy/common/time_daemon.te
Normal file
@ -0,0 +1 @@
|
||||
allow time_daemon alarm_device:chr_file rw_file_perms;
|
Loading…
Reference in New Issue
Block a user