diff options
author | ache <ache@FreeBSD.org> | 1997-09-01 11:31:56 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-09-01 11:31:56 +0000 |
commit | 4010a61b30847a4c329b175b885aff0b1b5db2cb (patch) | |
tree | 965259be1912045cf08d7203e71a9d89a9ad58c9 /games | |
parent | 29f93ed7dff35af93aaf7cb38450bf9d843b6db9 (diff) | |
download | FreeBSD-src-4010a61b30847a4c329b175b885aff0b1b5db2cb.zip FreeBSD-src-4010a61b30847a4c329b175b885aff0b1b5db2cb.tar.gz |
Remove so-called revoke, this game not installed sguid
Diffstat (limited to 'games')
-rw-r--r-- | games/factor/factor.c | 4 | ||||
-rw-r--r-- | games/grdc/grdc.c | 4 | ||||
-rw-r--r-- | games/number/number.c | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/games/factor/factor.c b/games/factor/factor.c index eeb064e..92f7415 100644 --- a/games/factor/factor.c +++ b/games/factor/factor.c @@ -94,10 +94,6 @@ main(argc, argv) int ch; char *p, buf[100]; /* > max number of digits. */ - /* revoke privs */ - setegid(getgid()); - setgid(getgid()); - while ((ch = getopt(argc, argv, "")) != EOF) switch (ch) { case '?': diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c index 6e7b0d1..ebb3293 100644 --- a/games/grdc/grdc.c +++ b/games/grdc/grdc.c @@ -56,10 +56,6 @@ int n = 0; initscr(); - /* revoke privs */ - setegid(getgid()); - setgid(getgid()); - signal(SIGINT,sighndl); signal(SIGTERM,sighndl); signal(SIGHUP,sighndl); diff --git a/games/number/number.c b/games/number/number.c index d7c55bf..cc7b85d 100644 --- a/games/number/number.c +++ b/games/number/number.c @@ -91,10 +91,6 @@ main(argc, argv) int ch, first; char line[256]; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - lflag = 0; while ((ch = getopt(argc, argv, "l")) != EOF) switch (ch) { |