diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-05-31 03:40:02 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2002-05-31 03:40:02 +0000 |
commit | 78168af82c4ec7ba2d8e9b500d667ee732db8e04 (patch) | |
tree | f01418ef860326642ed58e133f0fcd16b4655c37 /games/bs/bs.c | |
parent | f539c9183476b44dd9dd78a973f4a09cd6089661 (diff) |
No dm -> no need to revoke setegid.
Diffstat (limited to 'games/bs/bs.c')
-rw-r--r-- | games/bs/bs.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/games/bs/bs.c b/games/bs/bs.c index 92f20dff92f..a501907a06c 100644 --- a/games/bs/bs.c +++ b/games/bs/bs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bs.c,v 1.12 2002/02/18 06:45:26 deraadt Exp $ */ +/* $OpenBSD: bs.c,v 1.13 2002/05/31 03:40:00 pjanzen Exp $ */ /* * bs.c - original author: Bruce Holloway * salvo option by: Chuck A DeGaul @@ -11,10 +11,10 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: bs.c,v 1.12 2002/02/18 06:45:26 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: bs.c,v 1.13 2002/05/31 03:40:00 pjanzen Exp $"; #endif -/* #define _POSIX_SOURCE */ /* (setegid, random) */ +/* #define _POSIX_SOURCE */ /* ( random() ) */ #include <sys/param.h> #include <sys/types.h> @@ -1347,10 +1347,6 @@ static int scount(int who) int main(int argc, char *argv[]) { - /* revoke privs */ - setegid(getgid()); - setgid(getgid()); - do_options(argc, argv); intro(); |