Merge "run-as: Keep supplementary groups."

am: e80beca255

Change-Id: I971873b279dae899ae45718aa569681407e9a31f
This commit is contained in:
Elliott Hughes 2017-09-29 22:46:09 +00:00 committed by android-build-merger
commit ee4d611c46
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ int main(int argc, char* argv[]) {
ScopedMinijail j(minijail_new());
minijail_change_uid(j.get(), uid);
minijail_change_gid(j.get(), gid);
minijail_keep_supplementary_gids(j.get());
minijail_enter(j.get());
if (selinux_android_setcontext(uid, 0, info.seinfo, pkgname) < 0) {