summaryrefslogtreecommitdiffstats
path: root/games/atc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/atc/main.c')
-rw-r--r--games/atc/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/atc/main.c b/games/atc/main.c
index 762c2bc..6ba227c 100644
--- a/games/atc/main.c
+++ b/games/atc/main.c
@@ -70,6 +70,10 @@ main(ac, av)
extern char *default_game(), *okay_game();
extern void log_score(), quit(), update();
+ /* revoke privs */
+ setegid(getgid());
+ setgid(getgid());
+
start_time = seed = time(0);
name = *av++;
OpenPOWER on IntegriCloud