aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/readmac.te
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/readmac.te
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/readmac.te')
-rw-r--r--sepolicy/readmac.te12
1 files changed, 0 insertions, 12 deletions
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;