diff options
author | Simon McVittie <smcv@debian.org> | 2011-09-21 15:31:36 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2011-09-21 15:31:36 +0100 |
commit | 5c56c903340521d9ad6fec85786b3666b8e30b37 (patch) | |
tree | 3fd32e0cfa736c4e8ca1ef225b91235c02c24779 /bus/selinux.c | |
parent | 201e26f277511adf0fbb67aa39d335f281c6085f (diff) | |
download | dbus-upstream/1.4.16.tar.gz |
Imported Upstream version 1.4.16upstream/1.4.16
Diffstat (limited to 'bus/selinux.c')
-rw-r--r-- | bus/selinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bus/selinux.c b/bus/selinux.c index e94d8a8e..36287e9f 100644 --- a/bus/selinux.c +++ b/bus/selinux.c @@ -1055,7 +1055,7 @@ _dbus_change_to_daemon_user (const char *user, capng_clear (CAPNG_SELECT_BOTH); capng_update (CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED, CAP_AUDIT_WRITE); - rc = capng_change_id (uid, gid, 0); + rc = capng_change_id (uid, gid, CAPNG_DROP_SUPP_GRP); if (rc) { switch (rc) { |