summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/bcd/bcd.c3
-rw-r--r--games/caesar/caesar.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c
index 056d238..04ccccc 100644
--- a/games/bcd/bcd.c
+++ b/games/bcd/bcd.c
@@ -129,9 +129,6 @@ main(int argc, char **argv)
{
char cardline[80];
- /* revoke setgid privileges */
- setgid(getgid());
-
/*
* The original bcd prompts with a "%" when reading from stdin,
* but this seems kind of silly. So this one doesn't.
diff --git a/games/caesar/caesar.c b/games/caesar/caesar.c
index 2415ca7..b1f9920 100644
--- a/games/caesar/caesar.c
+++ b/games/caesar/caesar.c
@@ -82,9 +82,6 @@ main(int argc, char **argv)
char *inbuf;
int obs[26], try, winner;
- /* revoke setgid privileges */
- setgid(getgid());
-
if (argc > 1)
printit(argv[1]);
OpenPOWER on IntegriCloud