Merge "Fix relabeling of secondary user package directories."

This commit is contained in:
Nick Kralevich 2014-09-08 20:37:23 +00:00 committed by Gerrit Code Review
commit 51eec3b987

View File

@ -1518,7 +1518,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;
} }