diff options
| author | gcondra@google.com <gcondra@google.com> | 2013-04-30 17:18:05 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2013-04-30 17:18:05 -0700 |
| commit | efbe7fc6cc871e95760b9b01d674a09f7e80eb6a (patch) | |
| tree | a8c2efb4f11022d280900845bf12c06e219413ef /rootdir | |
| parent | 152a43215143f62ee4bedda96ce73604530a6f1d (diff) | |
| parent | 63577d9280e7919bfb7221030d211b833e66bb1e (diff) | |
| download | system_core-efbe7fc6cc871e95760b9b01d674a09f7e80eb6a.zip system_core-efbe7fc6cc871e95760b9b01d674a09f7e80eb6a.tar.gz system_core-efbe7fc6cc871e95760b9b01d674a09f7e80eb6a.tar.bz2 | |
am 63577d92: am fee250d2: Reload policy after setting up the data partition.
* commit '63577d9280e7919bfb7221030d211b833e66bb1e':
Reload policy after setting up the data partition.
Diffstat (limited to 'rootdir')
| -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 476f6d4..c91a439 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -177,6 +177,9 @@ on post-fs mkdir /cache/lost+found 0770 root root on post-fs-data + # reload SELinux based on what we find on the data partition + selinux_reload_policy + # We chown/chmod /data again so because mount is run as root + defaults chown system system /data chmod 0771 /data @@ -413,6 +416,7 @@ service ueventd /sbin/ueventd seclabel u:r:ueventd:s0 on property:selinux.reload_policy=1 + selinux_reload_policy restart ueventd restart installd |
