diff --git a/games/pig/pig.c b/games/pig/pig.c index f62e2cda09e4..b2f9112c958b 100644 --- a/games/pig/pig.c +++ b/games/pig/pig.c @@ -61,10 +61,6 @@ main(argc, argv) int ch; char buf[1024]; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - while ((ch = getopt(argc, argv, "")) != EOF) switch(ch) { case '?': diff --git a/games/primes/primes.c b/games/primes/primes.c index 1273d524ee6e..f174e9006f26 100644 --- a/games/primes/primes.c +++ b/games/primes/primes.c @@ -115,10 +115,6 @@ main(argc, argv) int ch; char *p; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - while ((ch = getopt(argc, argv, "")) != EOF) switch (ch) { case '?': diff --git a/games/rain/rain.c b/games/rain/rain.c index 077fd88a4798..c79bb1c66843 100644 --- a/games/rain/rain.c +++ b/games/rain/rain.c @@ -80,10 +80,6 @@ main(argc, argv) int xpos[5], ypos[5]; static void onsig(); - /* revoke */ - setegid(getgid()); - setgid(getgid()); - if (!(term = getenv("TERM"))) { fprintf(stderr, "%s: TERM: parameter not set\n", *argv); exit(1); diff --git a/games/random/random.c b/games/random/random.c index 94c75f716ed7..076990b38ac5 100644 --- a/games/random/random.c +++ b/games/random/random.c @@ -66,10 +66,6 @@ main(argc, argv) int ch, random_exit, selected, unbuffer_output; char *ep; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - random_exit = unbuffer_output = 0; while ((ch = getopt(argc, argv, "er")) != EOF) switch (ch) { diff --git a/games/worms/worms.c b/games/worms/worms.c index c8b8e5085bfa..978a02dd508b 100644 --- a/games/worms/worms.c +++ b/games/worms/worms.c @@ -201,10 +201,6 @@ main(argc, argv) struct sgttyb tt; extern short ospeed; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - length = 16; number = 3; trail = ' ';