commit | 882f8bf94f79528caa65b0ba71c185d705bb7195 | [log] [download] |
---|---|---|
author | dtucker@openbsd.org <dtucker@openbsd.org> | Wed Jun 24 01:49:19 2015 +0000 |
committer | Damien Miller <djm@mindrot.org> | Thu Jun 25 09:48:41 2015 +1000 |
tree | 0d93589d0f3ec530f72dbc31c796385fba4fff95 | |
parent | 9488538a726951e82b3a4374f3c558d72c80a89b [diff] |
upstream commit Revert previous commit. We still want to call setgroups in the case where there are zero groups to remove any that we might otherwise inherit (as pointed out by grawity at gmail.com) and since the 2nd argument to setgroups is always a static global it's always valid to dereference in this case. ok deraadt@ djm@ Upstream-ID: 895b5ac560a10befc6b82afa778641315725fd01