diff options
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 2 | ||||
-rw-r--r-- | sepolicy/readmac.te | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index ad12850..2f977f9 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -31,7 +31,7 @@ /persist/sensors/gyro_sensitity_cal u:object_r:sensors_persist_file:s0 # readmac -/system/bin/readmac u:object_r:readmac_exec:s0 +/(vendor|system/vendor)/bin/readmac u:object_r:readmac_exec:s0 # ril /system/vendor/radio/qcril_database/qcril.db u:object_r:nv_data_file:s0 diff --git a/sepolicy/readmac.te b/sepolicy/readmac.te index a124cfb..ea2391e 100644 --- a/sepolicy/readmac.te +++ b/sepolicy/readmac.te @@ -1,5 +1,5 @@ type readmac, domain; -type readmac_exec, exec_type, file_type; +type readmac_exec, exec_type, vendor_file_type, file_type; # Allow for transition from init domain to readmac init_daemon_domain(readmac) |