summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2016-02-09 12:23:15 +1100
committertilaksidduram <tilaksidduram@gmail.com>2016-02-15 11:18:09 +0530
commit7105cb10014b1e193a6894b3b131ffbf024086ba (patch)
tree24fe1272639f985dc3dbea3fbd87fd91965593fb
parent4931fb3baaabe2a3c57969555a11e98c99977254 (diff)
downloaddevice_samsung_n7100-7105cb10014b1e193a6894b3b131ffbf024086ba.zip
device_samsung_n7100-7105cb10014b1e193a6894b3b131ffbf024086ba.tar.gz
device_samsung_n7100-7105cb10014b1e193a6894b3b131ffbf024086ba.tar.bz2
n7100: move macloader and tinyplay sepolicy up to -common [2/2]
Change-Id: I874a9f2f6590755e5815e18bcdc5d1e0cdac4523
-rw-r--r--selinux/file_contexts2
-rw-r--r--selinux/init.te2
-rw-r--r--selinux/macloader.te9
-rw-r--r--selinux/tinyplay.te6
4 files changed, 0 insertions, 19 deletions
diff --git a/selinux/file_contexts b/selinux/file_contexts
index 988ef9a..fc824b3 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -61,5 +61,3 @@
# Misc
/dev/HPD u:object_r:hpd_device:s0
-/system/bin/macloader u:object_r:macloader_exec:s0
-/system/bin/tinyplay u:object_r:tinyplay_exec:s0
diff --git a/selinux/init.te b/selinux/init.te
index b4c11fb..c7393a9 100644
--- a/selinux/init.te
+++ b/selinux/init.te
@@ -11,5 +11,3 @@ allow init rild:process noatsecure;
domain_trans(init, rootfs, gpsd)
domain_trans(init, rootfs, cpboot-daemon)
-domain_trans(init, rootfs, tinyplay)
-domain_trans(init, rootfs, macloader)
diff --git a/selinux/macloader.te b/selinux/macloader.te
deleted file mode 100644
index 464f201..0000000
--- a/selinux/macloader.te
+++ /dev/null
@@ -1,9 +0,0 @@
-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;
diff --git a/selinux/tinyplay.te b/selinux/tinyplay.te
deleted file mode 100644
index ef7de81..0000000
--- a/selinux/tinyplay.te
+++ /dev/null
@@ -1,6 +0,0 @@
-type tinyplay, domain;
-type tinyplay_exec, exec_type, file_type;
-init_daemon_domain(tinyplay)
-
-allow tinyplay audio_device:chr_file { open read write ioctl };
-allow tinyplay audio_device:dir search;