Store the source of the matching rule and store in the event log.

The JSON logs will store the matching rule source.
This commit is contained in:
Todd C. Miller
2023-08-08 09:57:09 -06:00
parent 0b03511b85
commit e178b85821
6 changed files with 57 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ struct sudo_user {
char *cmnd_saved;
char *class_name;
char *krb5_ccname;
char *source;
struct gid_list *gid_list;
char * const * env_vars;
#ifdef HAVE_SELINUX