Remove so-called revoke, this game not installed sguid
This commit is contained in:
parent
6c0c9b8c37
commit
fafd0d1b39
@ -94,10 +94,6 @@ main(argc, argv)
|
||||
int ch;
|
||||
char *p, buf[100]; /* > max number of digits. */
|
||||
|
||||
/* revoke privs */
|
||||
setegid(getgid());
|
||||
setgid(getgid());
|
||||
|
||||
while ((ch = getopt(argc, argv, "")) != EOF)
|
||||
switch (ch) {
|
||||
case '?':
|
||||
|
@ -56,10 +56,6 @@ int n = 0;
|
||||
|
||||
initscr();
|
||||
|
||||
/* revoke privs */
|
||||
setegid(getgid());
|
||||
setgid(getgid());
|
||||
|
||||
signal(SIGINT,sighndl);
|
||||
signal(SIGTERM,sighndl);
|
||||
signal(SIGHUP,sighndl);
|
||||
|
@ -91,10 +91,6 @@ main(argc, argv)
|
||||
int ch, first;
|
||||
char line[256];
|
||||
|
||||
/* revoke */
|
||||
setegid(getgid());
|
||||
setgid(getgid());
|
||||
|
||||
lflag = 0;
|
||||
while ((ch = getopt(argc, argv, "l")) != EOF)
|
||||
switch (ch) {
|
||||
|
Loading…
Reference in New Issue
Block a user