Merge "init: Fix restorecon for /metadata." am: 8a178c184f
Change-Id: I69af5d614fb92522c301249289ac60867df8370a
This commit is contained in:
commit
c5aca531a5
1 changed files with 2 additions and 2 deletions
|
|
@ -539,9 +539,9 @@ void SelinuxRestoreContext() {
|
|||
|
||||
// adb remount, snapshot-based updates, and DSUs all create files during
|
||||
// first-stage init.
|
||||
selinux_android_restorecon("/metadata", SELINUX_ANDROID_RESTORECON_RECURSE);
|
||||
|
||||
selinux_android_restorecon(SnapshotManager::GetGlobalRollbackIndicatorPath().c_str(), 0);
|
||||
selinux_android_restorecon("/metadata/gsi", SELINUX_ANDROID_RESTORECON_RECURSE |
|
||||
SELINUX_ANDROID_RESTORECON_SKIP_SEHASH);
|
||||
}
|
||||
|
||||
int SelinuxKlogCallback(int type, const char* fmt, ...) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue