2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 22:35:10 +00:00

For intercepted commands, log an offset into the current I/O log.

This can be used with sudoreplay to jump to when a specific command
was executed within a session log.
This commit is contained in:
Todd C. Miller
2021-08-13 16:00:00 -06:00
parent 695f4bea05
commit 4aefd43948
4 changed files with 56 additions and 5 deletions

View File

@@ -111,6 +111,7 @@ struct eventlog {
char **env_add;
char **envp;
struct timespec submit_time;
struct timespec iolog_offset;
int lines;
int columns;
uid_t runuid;