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/bs | |
parent | 129dd29fd8aafb8fb425c3b282e32e4cb66a7d55 (diff) |
proper gid revoke
Diffstat (limited to 'games/bs')
-rw-r--r-- | games/bs/bs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/bs/bs.c b/games/bs/bs.c index 75ab7216a54..bf2cf8a49ec 100644 --- a/games/bs/bs.c +++ b/games/bs/bs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bs.c,v 1.2 1996/12/19 22:21:13 deraadt Exp $ */ +/* $OpenBSD: bs.c,v 1.3 1996/12/22 20:01:00 deraadt Exp $ */ /* * bs.c - original author: Bruce Holloway * salvo option by: Chuck A DeGaul @@ -1203,6 +1203,8 @@ main(argc, argv) int argc; char *argv[]; { + /* revoke privs */ + setegid(getgid()); setgid(getgid()); do_options(argc, argv); |