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/rain/rain.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'games/rain/rain.c') diff --git a/games/rain/rain.c b/games/rain/rain.c index 340ed05d674..b8e2d03e340 100644 --- a/games/rain/rain.c +++ b/games/rain/rain.c @@ -81,6 +81,8 @@ main(argc, argv) struct winsize ws; #endif + /* revoke */ + setegid(getgid()); setgid(getgid()); if (!(term = getenv("TERM"))) { -- cgit v1.2.3