diff options
author | Geremy Condra <gcondra@google.com> | 2013-03-30 17:27:43 -0700 |
---|---|---|
committer | Geremy Condra <gcondra@google.com> | 2013-04-03 11:58:12 -0700 |
commit | c2594f36e789bbd49cbeeb9421a7b6a16cd30ba4 (patch) | |
tree | 54fc92adc9858cdfb77ac811dcd7a4a310552f29 /rootdir/init.rc | |
parent | 69de9ac00bd3db3bfdb04ac5686e4b2cbfc372b5 (diff) | |
download | system_core-c2594f36e789bbd49cbeeb9421a7b6a16cd30ba4.zip system_core-c2594f36e789bbd49cbeeb9421a7b6a16cd30ba4.tar.gz system_core-c2594f36e789bbd49cbeeb9421a7b6a16cd30ba4.tar.bz2 |
Give system ownership of selinux load and enforce files.
This is necessary to enable remote updates.
Change-Id: I05fb979c0360eca4cc6e4add48bb42f712a1ba17
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r-- | rootdir/init.rc | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ 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 |