Restore AUTH_INTR support, it is still needed.

We still need AUTH_INTR to know when to break out of the password
prompt loop.
This commit is contained in:
Todd C. Miller
2023-08-29 10:02:09 -06:00
parent 3c05e748a4
commit 8cd0d74fbb
8 changed files with 20 additions and 13 deletions

View File

@@ -22,8 +22,9 @@
/* Auth function return values. */
#define AUTH_SUCCESS 0
#define AUTH_FAILURE 1
#define AUTH_ERROR 2
#define AUTH_NONINTERACTIVE 3
#define AUTH_INTR 2
#define AUTH_ERROR 3
#define AUTH_NONINTERACTIVE 4
typedef struct sudo_auth {
unsigned int flags; /* various flags, see below */