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/caesar | |
parent | 129dd29fd8aafb8fb425c3b282e32e4cb66a7d55 (diff) |
proper gid revoke
Diffstat (limited to 'games/caesar')
-rw-r--r-- | games/caesar/caesar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/games/caesar/caesar.c b/games/caesar/caesar.c index dd9a0f2d447..604883f6fa1 100644 --- a/games/caesar/caesar.c +++ b/games/caesar/caesar.c @@ -85,6 +85,8 @@ main(argc, argv) int obs[26], try, winner; char *malloc(), *strerror(); + /* revoke privs */ + setegid(getgid()); setgid(getgid()); if (argc > 1) |