diff options
author | Nick Kralevich <nnk@google.com> | 2014-09-08 20:55:32 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-08 20:55:32 +0000 |
commit | 2a8bb978d506162a2cff801f24659207790cffd3 (patch) | |
tree | fd5a99759815562022b8668b8474e5bf70784ced /cmds/installd | |
parent | 91b6028e07bc9494afc69ae4f83c3ee49de7d209 (diff) | |
parent | 51eec3b98788039afc5fd7ffe76612c7f8d9b39c (diff) | |
download | frameworks_native-2a8bb978d506162a2cff801f24659207790cffd3.zip frameworks_native-2a8bb978d506162a2cff801f24659207790cffd3.tar.gz frameworks_native-2a8bb978d506162a2cff801f24659207790cffd3.tar.bz2 |
am 51eec3b9: Merge "Fix relabeling of secondary user package directories."
* commit '51eec3b98788039afc5fd7ffe76612c7f8d9b39c':
Fix relabeling of secondary user package directories.
Diffstat (limited to 'cmds/installd')
-rw-r--r-- | cmds/installd/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index e06cddd..9fc461d 100644 --- a/cmds/installd/commands.c +++ b/cmds/installd/commands.c @@ -1524,7 +1524,7 @@ int restorecon_data(const char* pkgName, const char* seinfo, uid_t uid) 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)); ret |= -1; } |