From owner-cvs-all@FreeBSD.ORG Thu Sep 15 20:53:57 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EE5F16A41F; Thu, 15 Sep 2005 20:53:57 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B90B043D4C; Thu, 15 Sep 2005 20:53:56 +0000 (GMT) (envelope-from rwatson@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 j8FKruPR021813; Thu, 15 Sep 2005 20:53:56 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8FKruCf021812; Thu, 15 Sep 2005 20:53:56 GMT (envelope-from rwatson) Message-Id: <200509152053.j8FKruCf021812@repoman.freebsd.org> From: Robert Watson Date: Thu, 15 Sep 2005 20:53:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/fs/fifofs fifo_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 20:53:57 -0000 rwatson 2005-09-15 20:53:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/fs/fifofs fifo_vnops.c Log: Merge fifo_vnops.c:1.121 from HEAD to RELENG_6: Introduce no-op nosup fifo kqueue filter and detach routine, which are used when a read filter is requested on a write-only fifo descriptor, or a write filter is requested on a read-only fifo descriptor. This permits the filters to be registered, but never raises the event, which causes kqueue behavior for fifos to more closely match similar semantics for poll and select, which permit testing for the condition even though the condition will never be raised, and is consistent with POSIX's notion that a fifo has identical semantics to a one-way IPC channel created using pipe() on most operating systems. The fifo regression test suite can now run to completion on HEAD without errors. Approved by: re (kensmith) Revision Changes Path 1.113.2.8 +33 -1 src/sys/fs/fifofs/fifo_vnops.c