From ff4ce18e919807fbd34b9ade85e7b121bfdf4dea Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 22 Dec 1996 20:02:10 +0000 Subject: proper gid revoke --- games/monop/initdeck.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'games/monop') diff --git a/games/monop/initdeck.c b/games/monop/initdeck.c index 6c60bf7cd43..d783364c6af 100644 --- a/games/monop/initdeck.c +++ b/games/monop/initdeck.c @@ -82,6 +82,8 @@ int ac; char *av[]; { int n; + /* revoke */ + setegid(getgid()); setgid(getgid()); getargs(ac, av); -- cgit v1.2.3