From owner-cvs-src@FreeBSD.ORG Thu Mar 1 19:20:26 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17DC216A404; Thu, 1 Mar 2007 19:20:26 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id DC77813C491; Thu, 1 Mar 2007 19:20:25 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l21JKPw4058955; Thu, 1 Mar 2007 19:20:25 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l21JKPDP058954; Thu, 1 Mar 2007 19:20:25 GMT (envelope-from bms) Message-Id: <200703011920.l21JKPDP058954@repoman.freebsd.org> From: Bruce M Simpson Date: Thu, 1 Mar 2007 19:20:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern sys_generic.c 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: Thu, 01 Mar 2007 19:20:26 -0000 bms 2007-03-01 19:20:25 UTC FreeBSD src repository Modified files: sys/kern sys_generic.c Log: Do not dispatch SIGPIPE from the generic write path for a socket; with this patch the code behaves according to the comment on the line above. Without this patch, a socket could cause SIGPIPE to be delivered to its process, once with SO_NOSIGPIPE set, and twice without. With this patch, the kernel now passes the sigpipe regression test. Tested by: Anton Yuzhaninov MFC after: 1 week Revision Changes Path 1.152 +1 -1 src/sys/kern/sys_generic.c