diff options
author | tilaksidduram <tilaksidduram@gmail.com> | 2015-12-21 21:36:04 +0530 |
---|---|---|
committer | tilaksidduram <tilaksidduram@gmail.com> | 2015-12-22 19:54:22 +0530 |
commit | 0bf7364ac512f26be0373bf8810bd5c2cdc5c99d (patch) | |
tree | 10bcaf605808f2221c95c6eb9208db9b948c3d22 /selinux/macloader.te | |
parent | c44906d64a221421c303e36e1571f373984ef53a (diff) | |
download | device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.zip device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.gz device_samsung_n7100-0bf7364ac512f26be0373bf8810bd5c2cdc5c99d.tar.bz2 |
n7100: Bring in Selinux for M
* commits picked up from the i9300 device repo and made a few changes for n7100
credits to keepcalm444
Diffstat (limited to 'selinux/macloader.te')
-rw-r--r-- | selinux/macloader.te | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/selinux/macloader.te b/selinux/macloader.te new file mode 100644 index 0000000..464f201 --- /dev/null +++ b/selinux/macloader.te @@ -0,0 +1,9 @@ +type macloader, domain; +type macloader_exec, exec_type, file_type; +init_daemon_domain(macloader); + +allow macloader efs_file:dir search; +allow macloader efs_device_file:dir search; +allow macloader wifi_data_file:file { read getattr open write setattr }; +allow macloader self:capability { dac_override chown fowner fsetid }; +allow macloader system_data_file:dir w_dir_perms; |