From owner-cvs-src@FreeBSD.ORG Mon Jul 18 14:13:19 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBB3A16A41C; Mon, 18 Jul 2005 14:13:19 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B67143D49; Mon, 18 Jul 2005 14:13:19 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j6IEDJmB049647; Mon, 18 Jul 2005 14:13:19 GMT (envelope-from marcus@repoman.freebsd.org) Received: (from marcus@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j6IEDJ0r049646; Mon, 18 Jul 2005 14:13:19 GMT (envelope-from marcus) Message-Id: <200507181413.j6IEDJ0r049646@repoman.freebsd.org> From: Joe Marcus Clarke Date: Mon, 18 Jul 2005 14:13:18 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Cc: Subject: cvs commit: src/sbin/devd devd.cc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 14:13:19 -0000 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