struct eventlog: rename argv/env to runargv/runenv.

This matches the JSON logs.
This commit is contained in:
Todd C. Miller
2023-10-21 19:15:46 -06:00
parent c7a61a9438
commit 726b646b48
13 changed files with 67 additions and 65 deletions

View File

@@ -1001,9 +1001,9 @@ sudoers_to_eventlog(const struct sudoers_context *ctx, struct eventlog *evlog,
if (grp != NULL)
evlog->submitgroup = grp->gr_name;
evlog->ttyname = ctx->user.ttypath;
evlog->argv = (char **)argv;
evlog->runargv = (char **)argv;
evlog->env_add = (char **)ctx->user.env_add;
evlog->envp = (char **)envp;
evlog->runenv = (char **)envp;
evlog->submit_time = ctx->submit_time;
evlog->lines = ctx->user.lines;
evlog->columns = ctx->user.cols;