2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

g/c second arg to set_perms--it is no longer used

This commit is contained in:
Todd C. Miller
2002-05-05 00:43:38 +00:00
parent a30951d34c
commit c289159953
8 changed files with 37 additions and 40 deletions

View File

@@ -125,7 +125,7 @@ sudoers_lookup(pwflag)
int nopass;
/* Become sudoers file owner */
set_perms(PERM_SUDOERS, 0);
set_perms(PERM_SUDOERS);
/* We opened _PATH_SUDOERS in check_sudoers() so just rewind it. */
rewind(sudoers_fp);
@@ -140,7 +140,7 @@ sudoers_lookup(pwflag)
keepall = TRUE;
/* Need to be root while stat'ing things in the parser. */
set_perms(PERM_ROOT, 0);
set_perms(PERM_ROOT);
error = yyparse();
/* Close the sudoers file now that we are done with it. */