13356 syslog(3c) should not open syslog_door without LOG_CONS
Review Request #2580 — Created Dec. 8, 2020 and submitted — Latest diff uploaded
Information | |
---|---|
marcel | |
illumos-gate | |
master | |
13356 | |
7af7163... | |
Reviewers | |
general | |
This defers call to syslogd_ok() in syslog(3C) after the check for LOG_CONS flag to save few expensive calls like open(2), door_info(3C), door_call(3C), and close(2) when not needed. Work by David Hanisch.
See https://www.illumos.org/issues/13356#note-1