mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Add callbacks to sudoers_lookup() so we can use it in testsudoers.
Also pass in the time to be used for NOTBEFORE/NOTAFTER checks.
This commit is contained in:
@@ -792,8 +792,8 @@ audit_failure(char *const argv[], char const *const fmt, ...)
|
||||
|
||||
/* STUB */
|
||||
int
|
||||
sudoers_lookup(struct sudo_nss_list *snl, struct passwd *pw, int *cmnd_status,
|
||||
int pwflag)
|
||||
sudoers_lookup(struct sudo_nss_list *snl, struct passwd *pw, time_t now,
|
||||
struct sudoers_lookup_callbacks *callbacks, int *cmnd_status, int pwflag)
|
||||
{
|
||||
return VALIDATE_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user