• topjohnwu's avatar
    Also hijack plat_file_contexts if necessary · 753808a4
    topjohnwu authored
    Since Android 13, sepolicy are also loaded from APEX modules. Part
    of the change is to run restorecon before SELinux is set to enforce.
    In order to support this situation, we also hijack plat_file_contexts
    if necessary to properly order our operations.
    
    Original idea credits to @yujincheng08, close #5603
    753808a4
selinux.cpp 6.43 KB