• Stephen Smalley's avatar
    Add support for reloading policy from /data/system. · ae6f3d7c
    Stephen Smalley authored
    
    
    To support runtime policy management, add support for reloading
    policy from /data/system.  This can be triggered by setting the
    selinux.loadpolicy property to 1, whether from init.rc after
    mounting /data or from the system_server (e.g. upon invocation of
    a new device admin API for provisioning policy). ueventd and
    installd are restarted upon policy reloads to pick up the new
    policy configurations relevant to their operation.
    
    Change-Id: I97479aecef8cec23b32f60e09cc778cc5520b691
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    ae6f3d7c
restorecon.c 3.44 KB