Make most sudo_auth functions return AUTH_{SUCCESS,FAILURE,FATAL}.

This commit is contained in:
Todd C. Miller
2023-09-09 14:07:07 -06:00
parent 2ef90231a1
commit 0495afac57
5 changed files with 156 additions and 121 deletions

View File

@@ -26,6 +26,7 @@
#define AUTH_ERROR 0x1629e037 /* 0010110001010011110000000110111 */
#define AUTH_NONINTERACTIVE 0x1fc8d3ac /* 11111110010001101001110101100 */
struct sudoers_context;
typedef struct sudo_auth {
unsigned int flags; /* various flags, see below */
int status; /* status from verify routine */