Pass command_info[] to audit plugin on I/O log plugin reject or error.

The audit plugin should cope with a NULL command_info but there's no
reason not to pass the info when we have it.
This commit is contained in:
Todd C. Miller
2020-11-17 13:15:15 -07:00
parent 27615b5582
commit 24d812d037
3 changed files with 26 additions and 17 deletions

View File

@@ -174,6 +174,7 @@ struct command_details {
priv_set_t *privs;
priv_set_t *limitprivs;
#endif
char * const *info;
};
/* Status passed between parent and child via socketpair */