aboutsummaryrefslogtreecommitdiff
path: root/games/bcd
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-22 03:06:53 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-22 03:06:53 +0000
commitd1ea2c6674fb265a704a86155209ccae0ebba312 (patch)
treef501b07213e52657f19b53f5cfdf9fa6404caae8 /games/bcd
parent5becbbf49c26258a7fe40031542b321deea66aab (diff)
downloadsrc-d1ea2c6674fb265a704a86155209ccae0ebba312.tar.gz
src-d1ea2c6674fb265a704a86155209ccae0ebba312.zip
bcd isn't installed setuid.
caesar isn't installed setuid. For the archaeologists: it seems this call originally came from NetBSD PR 5970 and 5945 PR: 172566 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days
Notes
Notes: svn path=/head/; revision=241846
Diffstat (limited to 'games/bcd')
-rw-r--r--games/bcd/bcd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c
index 056d2388debe..04ccccc84d5f 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.