aboutsummaryrefslogtreecommitdiff
path: root/sepolicy
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2019-03-01 21:37:44 +0100
committerDavide Garberi <dade.garberi@gmail.com>2019-03-02 13:56:05 +0100
commit56a0d4e8bca5cb53407e9d615ed5566e87f34c2b (patch)
treedc9cc58239868d0ad076105c719a448611878836 /sepolicy
parenta1ccdf85388f8d3ab505d6c3761ea424cfb47bc0 (diff)
msm8996-common: Remove readmac
* We don't need this anymore, no random mac because the real hardware wlan mac works now Change-Id: I13f85f4eb438b2230408d5bad1c694b2cd39a25b
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file_contexts3
-rw-r--r--sepolicy/readmac.te12
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;