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:
parent
4110ecce3a
commit
9715a49f5d
@ -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.
|
||||
|
@ -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]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user