mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 09:58:07 +02:00
might be nice if my patches compiled...
This commit is contained in:
parent
bd4db6455b
commit
a7291aee0e
1 changed files with 2 additions and 2 deletions
|
|
@ -3288,8 +3288,8 @@ _dbus_change_identity (dbus_uid_t uid,
|
|||
* is going to work then setgroups() should also work.
|
||||
*/
|
||||
if (setgroups (0, NULL) < 0)
|
||||
dbus_warn ("Failed to drop supplementary groups: %s\n",
|
||||
_dbus_strerror (errno));
|
||||
_dbus_warn ("Failed to drop supplementary groups: %s\n",
|
||||
_dbus_strerror (errno));
|
||||
|
||||
/* Set GID first, or the setuid may remove our permission
|
||||
* to change the GID
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue