Check restore_perms() return value in all cases, pushing the

return value back up the call stack.
This commit is contained in:
Todd C. Miller
2015-06-25 11:12:36 -06:00
parent c5ed416a70
commit 81f94499bf
10 changed files with 154 additions and 86 deletions

View File

@@ -238,8 +238,8 @@ bool user_is_exempt(void);
char *expand_prompt(const char *old_prompt, const char *auth_user);
/* timestamp.c */
void remove_timestamp(bool);
bool set_lectured(void);
int remove_timestamp(bool);
int set_lectured(void);
/* sudo_auth.c */
bool sudo_auth_needs_end_session(void);