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

Make set_perms() and restore_perms() return an error instead of

calling exit() on failure.
This commit is contained in:
Todd C. Miller
2014-04-10 16:11:47 -06:00
parent 40375a6268
commit a78da37487
9 changed files with 137 additions and 127 deletions

View File

@@ -463,15 +463,16 @@ init_envtables(void)
return;
}
int
bool
set_perms(int perm)
{
return 1;
return true;
}
void
bool
restore_perms(void)
{
return true;
}
void