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

Create a UUID and log it in the JSON version of the event log.

This commit is contained in:
Todd C. Miller
2021-07-15 11:07:25 -06:00
parent 0dd2b6442a
commit fa7250ead7
6 changed files with 33 additions and 3 deletions

View File

@@ -752,6 +752,7 @@ sudoers_to_eventlog(struct eventlog *evlog, char * const argv[],
evlog->runuid = (uid_t)-1;
evlog->runuser = sudo_user.runas_user;
}
strlcpy(evlog->uuid_str, sudo_user.uuid_str, sizeof(evlog->uuid_str));
debug_return;
}