mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
5becbbf49c
commit
d1ea2c6674
2 changed files with 0 additions and 6 deletions
|
|
@ -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 a new issue