diff options
| author | Stephen Smalley <sds@tycho.nsa.gov> | 2014-02-06 13:52:52 -0500 |
|---|---|---|
| committer | Stephen Smalley <sds@tycho.nsa.gov> | 2014-02-06 14:33:29 -0500 |
| commit | f2b7ee765516c84a9995e3acdc8fbcd7dc1b33cc (patch) | |
| tree | cbb9b4f92747eb54902f616160b5a601985b7504 /base/errors_unix.cpp | |
| parent | 68835ee88b146f654fe3ce007f07ace71266e876 (diff) | |
Apply restorecon_recursive to all of /data.
With the following prior changes:
I77bf2a0c4c34b1feef6fdf4d6c3bd92dbf32f4a1
I698b1b2c3f00f31fbb2015edf23d33b51aa5bba1
I8dd915d9bb80067339621b905ea2b4ea0fa8d71e
it should now be safe (will correctly label all files)
and reasonably performant (will skip processing unless
file_contexts has changed since the last call) to call
restorecon_recursive /data from init.rc.
The call is placed after the setprop selinux.policy_reload 1 so that
we use any policy update under /data/security if present.
Change-Id: Ib8d9751a47c8e0238cf499fcec61898937945d9d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
