daemon: no initgroups() when already running as the configured user

We can assume that initgroups() would be a no-op in that case, however
initgroups() is not allowed for unprivileged users anyway.
This commit is contained in:
Max Kellermann
2013-12-29 13:58:39 +01:00
parent 09a0803116
commit e30b356eb0
2 changed files with 7 additions and 1 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.18.7 (not yet released)
* daemon: don't initialize supplementary groups when already running
as the configured user
ver 0.18.6 (2013/12/24)
* input