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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user