am 51eec3b9: Merge "Fix relabeling of secondary user package directories."

* commit '51eec3b98788039afc5fd7ffe76612c7f8d9b39c':
  Fix relabeling of secondary user package directories.
This commit is contained in:
Nick Kralevich 2014-09-08 20:55:32 +00:00 committed by Android Git Automerger
commit 2a8bb978d5

View File

@ -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;
} }