Add syslog_pid sudoers option to log sudo's process ID when logging

via syslog.  This is disabled by default to match historic behavior.
This commit is contained in:
Todd C. Miller
2017-07-20 16:33:12 -06:00
parent 43cbcbc24d
commit d129f306ea
7 changed files with 39 additions and 4 deletions

View File

@@ -465,6 +465,10 @@ struct sudo_defs_types sudo_defs_table[] = {
"iolog_flush", T_FLAG,
N_("Flush I/O log data to disk immediately instead of buffering it"),
NULL,
}, {
"syslog_pid", T_FLAG,
N_("Include the process ID when logging via syslog"),
NULL,
}, {
NULL, 0, NULL
}