Merge "Give system ownership of selinux load and enforce files." into jb-mr2-dev
diff --git a/rootdir/init.rc b/rootdir/init.rc
index e6583e3..89ec18a 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -348,6 +348,10 @@
chown system system /sys/kernel/ipv4/tcp_rmem_max
chown root radio /proc/cmdline
+# Set these so we can remotely update SELinux policy
+ chown system system /sys/fs/selinux/load
+ chown system system /sys/fs/selinux/enforce
+
# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208