Use libeventlog in sudoers instead of doing our own logging.

This commit is contained in:
Todd C. Miller
2020-10-26 16:10:40 -06:00
parent 541252beb1
commit 4416bd5977
12 changed files with 1117 additions and 1519 deletions

View File

@@ -37,6 +37,7 @@
#include "pathnames.h"
#include "sudo_compat.h"
#include "sudo_conf.h"
#include "sudo_eventlog.h"
#include "sudo_fatal.h"
#include "sudo_gettext.h"
#include "sudo_nss.h"
@@ -76,8 +77,10 @@ struct group_list {
/*
* Info pertaining to the invoking user.
* XXX - can we embed struct eventlog here or use it instead?
*/
struct sudo_user {
struct timespec submit_time;
struct passwd *pw;
struct passwd *_runas_pw;
struct group *_runas_gr;