am 51eec3b9
: Merge "Fix relabeling of secondary user package directories."
* commit '51eec3b98788039afc5fd7ffe76612c7f8d9b39c': Fix relabeling of secondary user package directories.
This commit is contained in:
commit
2a8bb978d5
@ -1524,7 +1524,7 @@ int restorecon_data(const char* pkgName, const char* seinfo, uid_t uid)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selinux_android_restorecon_pkgdir(pkgdir, seinfo, uid, flags) < 0) {
|
if (selinux_android_restorecon_pkgdir(pkgdir, seinfo, s.st_uid, flags) < 0) {
|
||||||
ALOGE("restorecon failed for %s: %s\n", pkgdir, strerror(errno));
|
ALOGE("restorecon failed for %s: %s\n", pkgdir, strerror(errno));
|
||||||
ret |= -1;
|
ret |= -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user