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