summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2014-04-09 16:41:17 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-09 16:41:17 +0000
commit11673a03e05c21bd254868466e6736b02ef1097e (patch)
tree621ad2c9bdf8d8497b2c3702bade5d864439994a /rootdir
parent8d176e6bdd9b83df104b56838443df76d2e2899f (diff)
parent8b4ea5a49dda2767af87604713053e1bc418e96f (diff)
downloadsystem_core-11673a03e05c21bd254868466e6736b02ef1097e.zip
system_core-11673a03e05c21bd254868466e6736b02ef1097e.tar.gz
system_core-11673a03e05c21bd254868466e6736b02ef1097e.tar.bz2
am 8b4ea5a4: am 39a5b812: am 2baf2886: Merge "Enable world-readable selinuxfs policy binary."
* commit '8b4ea5a49dda2767af87604713053e1bc418e96f': Enable world-readable selinuxfs policy binary.
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 6a053b3..79e33ef 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -186,6 +186,9 @@ on post-fs
chown system log /proc/last_kmsg
chmod 0440 /proc/last_kmsg
+ # make the selinux kernel policy world-readable
+ chmod 0444 /sys/fs/selinux/policy
+
# create the lost+found directories, so as to enforce our permissions
mkdir /cache/lost+found 0770 root root