2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 00:35:14 +00:00

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

@@ -24,6 +24,8 @@
#ifndef SUDOERS_TIMESTAMP_H
#define SUDOERS_TIMESTAMP_H
#include "auth/sudo_auth.h"
/* Status codes for timestamp_status() */
#define TS_CURRENT 0
#define TS_OLD 1