Date: Mon, 18 Jul 2005 02:10:22 +0000 (UTC) From: Joe Marcus Clarke <marcus@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/devd devd.cc Message-ID: <200507180210.j6I2ANqt074640@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcus 2005-07-18 02:10:22 UTC
FreeBSD src repository (doc,ports committer)
Modified files: (Branch: RELENG_6)
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: re (kensmith)
Revision Changes Path
1.22.2.1 +4 -2 src/sbin/devd/devd.cc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507180210.j6I2ANqt074640>
