summaryrefslogtreecommitdiffstats
path: root/games/bcd/bcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/bcd/bcd.c')
-rw-r--r--games/bcd/bcd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c
index 53765da..cb0b3f9 100644
--- a/games/bcd/bcd.c
+++ b/games/bcd/bcd.c
@@ -131,6 +131,10 @@ main(argc, argv)
* but this seems kind of silly. So this one doesn't.
*/
+ /* revoke privs */
+ setegid(getgid());
+ setgid(getgid());
+
if (argc > 1) {
while (--argc)
printcard(*++argv);
OpenPOWER on IntegriCloud