Give system ownership of selinux load and enforce files.

This is necessary to enable remote updates.

Change-Id: I05fb979c0360eca4cc6e4add48bb42f712a1ba17
This commit is contained in:
Geremy Condra 2013-03-30 17:27:43 -07:00
parent 69de9ac00b
commit c2594f36e7
1 changed files with 4 additions and 0 deletions

View File

@ -348,6 +348,10 @@ on boot
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