Remove so-called revoke, this game not installed sguid

This commit is contained in:
Andrey A. Chernov 1997-09-01 11:31:56 +00:00
parent 6c0c9b8c37
commit fafd0d1b39
3 changed files with 0 additions and 12 deletions

View File

@ -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 '?':

View File

@ -56,10 +56,6 @@ int n = 0;
initscr();
/* revoke privs */
setegid(getgid());
setgid(getgid());
signal(SIGINT,sighndl);
signal(SIGTERM,sighndl);
signal(SIGHUP,sighndl);

View File

@ -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) {