author | Sebastian Harl <sh@tokkee.org> | |
Sun, 24 Feb 2008 11:17:24 +0000 (12:17 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 25 Feb 2008 07:29:35 +0000 (08:29 +0100) | ||
commit | ad05cf135ac41af52f761d21f9acd3cd07540c7e | |
tree | a504617939030c17cdbfdc24330a2dd36813fde4 | tree | snapshot |
parent | 49b54bac99ab5c853826507ea525ba915f35eaa6 | commit | diff |
exec plugin: Don't pass an invalid egid to setgroups() if no group was given.
In case that no group has been specified in the config file, egid = -1 used to
be passed to setgroups() which, obviously, is not what we want.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
In case that no group has been specified in the config file, egid = -1 used to
be passed to setgroups() which, obviously, is not what we want.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/exec.c | diff | blob | history |