Remove revoke privs, not needed
This commit is contained in:
parent
14b8848e6d
commit
57855fd0ea
@ -75,10 +75,6 @@ main(argc, argv)
|
||||
exit(2);
|
||||
}
|
||||
|
||||
/* revoke privs */
|
||||
setegid(getgid());
|
||||
setgid(getgid());
|
||||
|
||||
setpwent();
|
||||
if (argc == 1) {
|
||||
uid = getuid();
|
||||
|
@ -74,10 +74,6 @@ main()
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* revoke privs */
|
||||
setegid(getgid());
|
||||
setgid(getgid());
|
||||
|
||||
printf("Snake players scores to date\n");
|
||||
fread(&whoallbest, sizeof(short), 1, fd);
|
||||
fread(&allbest, sizeof(short), 1, fd);
|
||||
|
Loading…
Reference in New Issue
Block a user