2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Use a separate uuid for intercepted commands.

We use the uuid to match the command with its exit status.
This commit is contained in:
Todd C. Miller
2021-08-09 15:50:26 -06:00
parent 2e99450d40
commit dae370fb70
3 changed files with 25 additions and 9 deletions

View File

@@ -68,7 +68,7 @@ bool log_warningx(int flags, const char *fmt, ...) __printflike(2, 3);
bool gai_log_warning(int flags, int errnum, const char *fmt, ...) __printflike(3, 4);
bool sudoers_initlocale(const char *ulocale, const char *slocale);
bool sudoers_locale_callback(const union sudo_defs_val *);
void sudoers_to_eventlog(struct eventlog *evlog, char * const argv[], char *const envp[]);
void sudoers_to_eventlog(struct eventlog *evlog, char * const argv[], char *const envp[], const char *uuid_str);
void init_eventlog_config(void);
bool init_log_details(struct log_details *details, struct eventlog *evlog);