summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2016-02-09 12:23:15 +1100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-16 14:51:46 +0100
commit6a699f145820f784007ab212b8cece4911e42653 (patch)
treebf34dc34f37e9f550010cbefa00d49154e02a000
parent2e8292ce08727bd86a9a12a537418df046d73bc2 (diff)
downloaddevice_samsung_i9300-6a699f145820f784007ab212b8cece4911e42653.zip
device_samsung_i9300-6a699f145820f784007ab212b8cece4911e42653.tar.gz
device_samsung_i9300-6a699f145820f784007ab212b8cece4911e42653.tar.bz2
i9300: 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 12bbd51..6e54311 100644
--- a/selinux/file_contexts
+++ b/selinux/file_contexts
@@ -62,5 +62,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 795e077..6056a94 100644
--- a/selinux/init.te
+++ b/selinux/init.te
@@ -11,5 +11,3 @@ allow init rild:process noatsecure;
domain_trans(init, rootfs, glgps)
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;