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
This commit is contained in:
eadler 2012-10-22 03:06:53 +00:00
parent 4110ecce3a
commit 9715a49f5d
2 changed files with 0 additions and 6 deletions

View File

@ -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.

View File

@ -82,9 +82,6 @@ main(int argc, char **argv)
char *inbuf;
int obs[26], try, winner;
/* revoke setgid privileges */
setgid(getgid());
if (argc > 1)
printit(argv[1]);