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

@@ -204,7 +204,7 @@ audit_to_eventlog(struct eventlog *evlog, char * const command_info[],
debug_decl(audit_to_eventlog, SUDOERS_DEBUG_PLUGIN);
/* Fill in evlog from sudoers Defaults, run_argv and run_envp. */
sudoers_to_eventlog(evlog, run_argv, run_envp);
sudoers_to_eventlog(evlog, run_argv, run_envp, NULL);
/* Update iolog and execution environment from command_info[]. */
if (command_info != NULL) {