From owner-svn-src-all@FreeBSD.ORG Wed Jun 30 13:43:44 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8CCE1065678; Wed, 30 Jun 2010 13:43:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 799508FC16; Wed, 30 Jun 2010 13:43:44 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 259BA46B2D; Wed, 30 Jun 2010 09:43:44 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 65C738A04E; Wed, 30 Jun 2010 09:43:43 -0400 (EDT) From: John Baldwin To: Ed Schouten Date: Wed, 30 Jun 2010 09:34:47 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201006292044.o5TKiJd7031766@svn.freebsd.org> <20100629210522.GY2179@hoeg.nl> In-Reply-To: <20100629210522.GY2179@hoeg.nl> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006300934.47629.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 30 Jun 2010 09:43:43 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r209595 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 13:43:44 -0000 On Tuesday 29 June 2010 5:05:22 pm Ed Schouten wrote: > * John Baldwin wrote: > > Log: > > Send SIGPIPE to the thread that issued the offending system call > > rather than to the entire process. > > Should something similar be used inside the TTY layer, where > reads/writes may cause signals to be generated? Hmm, I'm not sure. I do think you want to stop the entire process for SIGTTOU or SIGTTIN (often the entire process group it seems), so I'm not sure if it matters if the signal is sent to only the current thread versus sending it to any thread in the process. -- John Baldwin