diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-03-12 09:03:50 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 1998-03-12 09:03:50 +0000 |
commit | a270e7162af7e3357f6af9fec1ff5a289ae7946a (patch) | |
tree | 48c20176b0e6e82d3ea63d1f49be976adf069aad | |
parent | 802c33bc90fde811906feb101f2c3240990a97ee (diff) |
OpenBSD rscid and proper gid revoke (again)
-rw-r--r-- | games/bs/bs.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/games/bs/bs.c b/games/bs/bs.c index fbe8f88f637..8fa73b3d873 100644 --- a/games/bs/bs.c +++ b/games/bs/bs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bs.c,v 1.6 1998/03/12 06:17:25 pjanzen Exp $ */ +/* $OpenBSD: bs.c,v 1.7 1998/03/12 09:03:49 pjanzen Exp $ */ /* * bs.c - original author: Bruce Holloway * salvo option by: Chuck A DeGaul @@ -9,7 +9,12 @@ * v2.1 with ncurses mouse support, September 1995 * v2.2 with bugfixes and strategical improvements, March 1998. */ -/* #define _POSIX_SOURCE */ + +#ifndef lint +static char rcsid[] = "$OpenBSD: bs.c,v 1.7 1998/03/12 09:03:49 pjanzen Exp $"; +#endif + +/* #define _POSIX_SOURCE */ /* (setegid, random) */ #include <curses.h> #include <signal.h> @@ -1328,8 +1333,8 @@ static int scount(int who) int main(int argc, char *argv[]) { /* revoke privs */ - /*setegid(getgid()); - setgid(getgid());*/ + setegid(getgid()); + setgid(getgid()); do_options(argc, argv); |