summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authordcashman <dcashman@google.com>2014-04-09 16:37:05 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-09 16:37:05 +0000
commit8b4ea5a49dda2767af87604713053e1bc418e96f (patch)
tree6f7b816f142b34bee0b2f215e38518d67882968c /rootdir
parent7b6a8cbae956de544f01c43ec0814130aea1f846 (diff)
parent39a5b812904ec13390d6261bafccf823729ae21d (diff)
downloadsystem_core-8b4ea5a49dda2767af87604713053e1bc418e96f.zip
system_core-8b4ea5a49dda2767af87604713053e1bc418e96f.tar.gz
system_core-8b4ea5a49dda2767af87604713053e1bc418e96f.tar.bz2
am 39a5b812: am 2baf2886: Merge "Enable world-readable selinuxfs policy binary."
* commit '39a5b812904ec13390d6261bafccf823729ae21d': 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 63d7e9b..53b380b 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