aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/macloader.te
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-12-23 23:09:42 +0100
committerRGIB <gibellini.roberto@gmail.com>2016-12-23 23:09:42 +0100
commit7f7ed272b1322a3a69e28c54e10fcec14702f906 (patch)
tree8655a7e5af08aa2dd6d006da1e5ca0d885b20527 /selinux/macloader.te
parent3ce2d992851c341032ec120e5a1974e60352b97f (diff)
downloaddevice_samsung_kona-common-7f7ed272b1322a3a69e28c54e10fcec14702f906.zip
device_samsung_kona-common-7f7ed272b1322a3a69e28c54e10fcec14702f906.tar.gz
device_samsung_kona-common-7f7ed272b1322a3a69e28c54e10fcec14702f906.tar.bz2
kona : selinux update
Change-Id: I8b659c61ea76408c39eb52799629355e9a76ebab
Diffstat (limited to 'selinux/macloader.te')
-rw-r--r--selinux/macloader.te5
1 files changed, 3 insertions, 2 deletions
diff --git a/selinux/macloader.te b/selinux/macloader.te
index bd26206..da70890 100644
--- a/selinux/macloader.te
+++ b/selinux/macloader.te
@@ -1,4 +1,5 @@
+file_type_auto_trans(macloader, system_data_file, wifi_data_file)
+
allow macloader efs_file:file { read open getattr };
allow macloader efs_file:dir search;
-allow macloader wifi_data_file:file write;
-allow macloader wifi_data_file:file unlink;
+allow macloader wifi_data_file:file { unlink write open setattr };