summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-24 07:00:45 +0000
committerache <ache@FreeBSD.org>1997-09-24 07:00:45 +0000
commit141cdcdf1d1a3ee4490dfb4c7fa3c5a036cc0fc6 (patch)
tree049d26a1451ca8a220eb749821e5e954b9fbe923 /games
parent3e97e057a5cb6998316f6b5f8e3576f36b96ff81 (diff)
downloadFreeBSD-src-141cdcdf1d1a3ee4490dfb4c7fa3c5a036cc0fc6.zip
FreeBSD-src-141cdcdf1d1a3ee4490dfb4c7fa3c5a036cc0fc6.tar.gz
Simplify revoke
Diffstat (limited to 'games')
-rw-r--r--games/hangman/main.c1
-rw-r--r--games/mille/mille.c1
-rw-r--r--games/quiz/quiz.c1
-rw-r--r--games/worm/worm.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/games/hangman/main.c b/games/hangman/main.c
index 7edc27f..cbf0272 100644
--- a/games/hangman/main.c
+++ b/games/hangman/main.c
@@ -51,7 +51,6 @@ main()
void die();
/* revoke */
- setegid(getgid());
setgid(getgid());
initscr();
diff --git a/games/mille/mille.c b/games/mille/mille.c
index e9789b4..7409fbb 100644
--- a/games/mille/mille.c
+++ b/games/mille/mille.c
@@ -60,7 +60,6 @@ reg char *av[]; {
reg bool restore;
/* revoke */
- setegid(getgid());
setgid(getgid());
if (strcmp(av[0], "a.out") == 0) {
diff --git a/games/quiz/quiz.c b/games/quiz/quiz.c
index f820d1f..637bc25 100644
--- a/games/quiz/quiz.c
+++ b/games/quiz/quiz.c
@@ -82,7 +82,6 @@ main(argc, argv)
char *indexfile;
/* revoke */
- setegid(getgid());
setgid(getgid());
indexfile = _PATH_QUIZIDX;
diff --git a/games/worm/worm.c b/games/worm/worm.c
index e66fce8..8e6dcb9 100644
--- a/games/worm/worm.c
+++ b/games/worm/worm.c
@@ -86,7 +86,6 @@ main(argc, argv)
char ch;
/* revoke */
- setegid(getgid());
setgid(getgid());
if (argc == 2)
OpenPOWER on IntegriCloud