diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-22 20:02:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-22 20:02:10 +0000 |
commit | ff4ce18e919807fbd34b9ade85e7b121bfdf4dea (patch) | |
tree | 7fe48076ef6bee61276a7cedec421b4ebbea6823 /games/atc/main.c | |
parent | 129dd29fd8aafb8fb425c3b282e32e4cb66a7d55 (diff) |
proper gid revoke
Diffstat (limited to 'games/atc/main.c')
-rw-r--r-- | games/atc/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/games/atc/main.c b/games/atc/main.c index 4ba2d0f0d43..cd502e26a63 100644 --- a/games/atc/main.c +++ b/games/atc/main.c @@ -77,6 +77,8 @@ 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); |