commit | e80beca2553f1c95a3e138dfa481304d9a863dd0 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Sep 29 22:42:10 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Sep 29 22:42:10 2017 +0000 |
tree | 49e08ff09b6000922c3f6d8008e785876186ac6d | |
parent | e808f9213ce8f256d3b90225f7c69648a6faf238 [diff] | |
parent | 8c27e19c1c20f05db9e9e061dffb3aa56d8275b9 [diff] |
Merge "run-as: Keep supplementary groups."
diff --git a/run-as/run-as.cpp b/run-as/run-as.cpp index e7b8cc2..b27cfad 100644 --- a/run-as/run-as.cpp +++ b/run-as/run-as.cpp
@@ -194,6 +194,7 @@ 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) {