Re: syslogd: log errno for open failures

2016-07-01 Thread Gilles Chehade
On Fri, Jul 01, 2016 at 06:47:18AM -0600, Todd C. Miller wrote: > The priv_open_* functions set errno on failure. It is passed in > the message from the privileged process on error. Otherwise, all > that is logged is the file name which is not too helpful. > > There's still an issue where the me

syslogd: log errno for open failures

2016-07-01 Thread Todd C. Miller
The priv_open_* functions set errno on failure. It is passed in the message from the privileged process on error. Otherwise, all that is logged is the file name which is not too helpful. There's still an issue where the message logged to the console is preceded by 15 NUL bytes but that can be fi