diff options
Diffstat (limited to 'games/bcd')
-rw-r--r-- | games/bcd/bcd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c index 16243bd..d2405ce 100644 --- a/games/bcd/bcd.c +++ b/games/bcd/bcd.c @@ -127,6 +127,9 @@ main(argc, 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. |