diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-22 03:06:53 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-22 03:06:53 +0000 |
commit | 9715a49f5d890f314d26802d7cfdf6aa0d2ab2d9 (patch) | |
tree | f501b07213e52657f19b53f5cfdf9fa6404caae8 /games/bcd | |
parent | 4110ecce3a2b2196e82165e92267b2eff3f481c8 (diff) | |
download | FreeBSD-src-9715a49f5d890f314d26802d7cfdf6aa0d2ab2d9.zip FreeBSD-src-9715a49f5d890f314d26802d7cfdf6aa0d2ab2d9.tar.gz |
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
Diffstat (limited to 'games/bcd')
-rw-r--r-- | games/bcd/bcd.c | 3 |
1 files changed, 0 insertions, 3 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. |