From owner-freebsd-current Tue Aug 13 18:51:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C281037B401 for ; Tue, 13 Aug 2002 18:51:41 -0700 (PDT) Received: from web20909.mail.yahoo.com (web20909.mail.yahoo.com [216.136.226.231]) by mx1.FreeBSD.org (Postfix) with SMTP id 41DEB43E6E for ; Tue, 13 Aug 2002 18:51:41 -0700 (PDT) (envelope-from bsddiy@yahoo.com) Message-ID: <20020814015141.31423.qmail@web20909.mail.yahoo.com> Received: from [218.97.164.167] by web20909.mail.yahoo.com via HTTP; Tue, 13 Aug 2002 18:51:41 PDT Date: Tue, 13 Aug 2002 18:51:41 -0700 (PDT) From: David Xu Subject: Re: cvs commit: src/sys/kern kern_sig.c (fwd) To: Terry Lambert Cc: Tim Robbins , current@FreeBSD.ORG In-Reply-To: <3D59B191.6F00957E@mindspring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Terry Lambert wrote: > > My machine may be different with Tim's, it is a P4 1.5G CPU, > > its speed maybe fast enough to skip the problem. BTW, bde has > > also reported the problem, so this is serious, wouldn't kernel > > send out SIGTTOU when null change a foreground group is enough > > to fix the problem?. but why don't they block SIGTTOU when > > calling tcsetpgrp()? > > Bruce reported the first problem, with su, which arose from > DES changing the code to support PAM, and to have an extra > fork, where it didn't before. > > Bruce reported that he *didn't* have the second problem reported > by Tim Robbins, which appears to be local to his site (a search > of the archives indicates that he is the only one reporting it). > > The patch that Tim posted, which is GPL'ed because of its origin, > and therefore unusable exacept as a model, "fixes" the problem > by blocking the signal delivery before the fork. > > Note that merely blocking the delivery means that the signal will > be delivered later, since block sugnals are accumulated, not > discarded (see what the patch does, for details). > > -- Terry Sorry, I mean ignore SIGTTOU. David Xu __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message