Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6552f688 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Trigger a policy reload from post-fs-data.



Once userdata is available and decrypted, trigger a policy reload to pick
up any policy update files stored under /data/security.

Change-Id: Ic2b3121c3395429b108c40d1d7f5a3124a5896c5
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent a8ba1f2f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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.