From d59a3ca336bac3dac6ad8918ff6cb28fcbbba718 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 19 Apr 1999 03:59:02 +0000 Subject: Merge a bunch of cleanups from NetBSD. PR: 8083 Submitted by: Stephen J. Roznowski Obtained from: a whole slew of NetBSD PRs --- games/bcd/bcd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'games/bcd') 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. -- cgit v1.1