summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-09-30 20:04:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-09-30 20:04:12 +0000
commit61afb07b9b14233f76a969840f74ce1ced22bf58 (patch)
tree0354536a1e83cbab25a1ba5f24eda4175b5e382d /rootdir
parent71a8aa347383fa5891a43aaa587fe67be166d5c4 (diff)
parent6552f6885fc2a94501ca064bffc4c18ad40caad8 (diff)
downloadsystem_core-61afb07b9b14233f76a969840f74ce1ced22bf58.zip
system_core-61afb07b9b14233f76a969840f74ce1ced22bf58.tar.gz
system_core-61afb07b9b14233f76a969840f74ce1ced22bf58.tar.bz2
Merge "Trigger a policy reload from post-fs-data."
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 21ae5bf..88dee10 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -245,6 +245,9 @@ on post-fs-data
# Separate location for storing security policy files on data
mkdir /data/security 0711 system system
+ # Reload policy from /data/security if present.
+ setprop selinux.reload_policy 1
+
# If there is no fs-post-data action in the init.<device>.rc file, you
# must uncomment this line, otherwise encrypted filesystems
# won't work.