“This type of logging is possible because OpenBSD syslog_r(3) -> sendsyslog(2) is side-effect free enough to be used in the bowels of libc.”
The diffs:
Can’t say I enjoy this change as it’s somewhat oversimplified, but it has its merits.
How would you complicate it?
The string seems to not be escaped and the application seems to not be identified in the log (it looks like this usage even discards any openlog() info because of the thread-safe variant of the call).
ah. the application will still be identified by argv[0].
Can’t say I enjoy this change as it’s somewhat oversimplified, but it has its merits.
How would you complicate it?
The string seems to not be escaped and the application seems to not be identified in the log (it looks like this usage even discards any openlog() info because of the thread-safe variant of the call).
ah. the application will still be identified by argv[0].