cvs commit: src/sbin/devd devd.cc
Joe Marcus Clarke
marcus at FreeBSD.org
Mon Jul 18 14:13:19 GMT 2005
marcus 2005-07-18 14:13:18 UTC
FreeBSD src repository (doc,ports committer)
Modified files: (Branch: RELENG_5)
sbin/devd devd.cc
Log:
MFC: revs 1.23 and 1.24
* Replace fch{mod,own} with straight ch{mod,own} as the former cannot be used
on socket file descriptors
* Open permissions on /var/run/devd.pipe so that any user can read devd events
from this socket
* Enable non-blocking I/O on devd.pipe to keep clients from wedging devd.
If a write(2) on devd.pipe would block, the client in question will be
removed
Approved by: imp
Revision Changes Path
1.18.2.2 +4 -2 src/sbin/devd/devd.cc
More information about the cvs-src
mailing list