CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2015/07/09 14:16:04

Modified files:
        usr.sbin/syslogd: privsep_fdpass.c 

Log message:
During fd passing, receive_fd() tries to read the result value and
the file descriptor.  If the fd limit is exhausted, recvmsg(2)
fails.  The kernel discards the fd, but the result value stays in
the socket.  It has to be read on its own to keep the privsep parent
and syslogd child in sync.
OK benno@

Reply via email to