From 7105cb10014b1e193a6894b3b131ffbf024086ba Mon Sep 17 00:00:00 2001 From: Simon Shields Date: Tue, 9 Feb 2016 12:23:15 +1100 Subject: n7100: move macloader and tinyplay sepolicy up to -common [2/2] Change-Id: I874a9f2f6590755e5815e18bcdc5d1e0cdac4523 --- selinux/file_contexts | 2 -- selinux/init.te | 2 -- selinux/macloader.te | 9 --------- selinux/tinyplay.te | 6 ------ 4 files changed, 19 deletions(-) delete mode 100644 selinux/macloader.te delete mode 100644 selinux/tinyplay.te 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; -- cgit v1.1