diff options
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 3 | ||||
-rw-r--r-- | sepolicy/readmac.te | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 7112268..f4b765f 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -11,9 +11,6 @@ /data/decrypt\.txt u:object_r:thermal_data_file:s0 /data/vendor/qcam(/.*)? u:object_r:vendor_camera_data_file:s0 -# Binaries -/vendor/bin/readmac u:object_r:readmac_exec:s0 - # HALs /vendor/bin/hw/android\.hardware\.light@2\.0-service\.zuk_8996 u:object_r:hal_light_default_exec:s0 /vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.0-service\.zuk u:object_r:hal_fingerprint_default_exec:s0 diff --git a/sepolicy/readmac.te b/sepolicy/readmac.te deleted file mode 100644 index 187991a..0000000 --- a/sepolicy/readmac.te +++ /dev/null @@ -1,12 +0,0 @@ -type readmac, domain; -type readmac_exec, exec_type, vendor_file_type, file_type; - -# Allow for transition from init domain to readmac -init_daemon_domain(readmac) - -# Allow readmac to fully access wlan_mac.bin persist file -allow readmac mnt_vendor_file:dir rw_dir_perms; -allow readmac mnt_vendor_file:file create_file_perms; - -allow readmac diag_device:chr_file rw_file_perms; -allow readmac sysfs:file r_file_perms; |