From 15d948877b508c9a434fd94f456af5170ee0d0a6 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Fri, 1 Jan 2016 08:31:52 -0800 Subject: [PATCH] Revert "sepolicy: Fixes for external storage denials" Moved to vendor/cm This reverts commit 1e1d0f4bed143c9070eee620f9e42765a316b87d. Change-Id: Idf6925f221df113d6f6461663b6b2eb91f7ba744 --- sepolicy/fsck_untrusted.te | 1 - sepolicy/genfs_contexts | 1 - sepolicy/system_server.te | 1 - sepolicy/vold.te | 2 -- 4 files changed, 5 deletions(-) delete mode 100644 sepolicy/fsck_untrusted.te delete mode 100644 sepolicy/vold.te diff --git a/sepolicy/fsck_untrusted.te b/sepolicy/fsck_untrusted.te deleted file mode 100644 index 1c520b7..0000000 --- a/sepolicy/fsck_untrusted.te +++ /dev/null @@ -1 +0,0 @@ -allow fsck_untrusted self:capability sys_admin; diff --git a/sepolicy/genfs_contexts b/sepolicy/genfs_contexts index d410612..49a35af 100644 --- a/sepolicy/genfs_contexts +++ b/sepolicy/genfs_contexts @@ -1,2 +1 @@ genfscon proc /bluetooth/sleep u:object_r:proc_bluetooth_writable:s0 -genfscon exfat / u:object_r:sdcard_external:s0 diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te index 675f1a9..9512a6c 100644 --- a/sepolicy/system_server.te +++ b/sepolicy/system_server.te @@ -6,4 +6,3 @@ allow system_server sysfs_sec:file rw_file_perms; allow system_server sysfs_vibeamp:dir search; allow system_server sysfs_vibeamp:file rw_file_perms; allow system_server wifi_efs_file:file r_file_perms; -allow system_server storage_stub_file:dir { getattr }; diff --git a/sepolicy/vold.te b/sepolicy/vold.te deleted file mode 100644 index acdf87e..0000000 --- a/sepolicy/vold.te +++ /dev/null @@ -1,2 +0,0 @@ -allow vold storage_stub_file:dir { rw_file_perms search add_name }; -allow vold mnt_media_rw_stub_file:dir r_dir_perms;