diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts index ada233b..51c3d73 100644 --- a/sepolicy/property_contexts +++ b/sepolicy/property_contexts @@ -2,3 +2,4 @@ persist.sys.timeadjust u:object_r:timekeep_prop:s0 service.camera.hdmi_preview u:object_r:camera_prop:s0 service.camera.samsung.enabled u:object_r:camera_prop:s0 storage.efs_sync.done u:object_r:rmt_storage_prop:s0 +persist.ril. u:object_r:system_radio_prop:s0 diff --git a/sepolicy/qmuxd.te b/sepolicy/qmuxd.te new file mode 100644 index 0000000..87fe884 --- /dev/null +++ b/sepolicy/qmuxd.te @@ -0,0 +1 @@ +allow qmuxd diag_device:chr_file rw_file_perms; diff --git a/sepolicy/rild.te b/sepolicy/rild.te new file mode 100644 index 0000000..e3ac66f --- /dev/null +++ b/sepolicy/rild.te @@ -0,0 +1,10 @@ +binder_use(rild) + +allow rild proc_net:file w_file_perms; + +allow rild radio_data_file:dir rw_dir_perms; +allow rild radio_data_file:file create_file_perms; + +r_dir_file(rild, app_efs_file) + +set_prop(rild, system_radio_prop)