From owner-cvs-all Tue Apr 23 1:10:11 2002 Delivered-To: cvs-all@freebsd.org Received: from patrocles.silby.com (d162.as9.nwbl0.wi.voyager.net [169.207.133.228]) by hub.freebsd.org (Postfix) with ESMTP id EAF2737B417; Tue, 23 Apr 2002 01:10:02 -0700 (PDT) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.2/8.12.2) with ESMTP id g3N8A7aL025094; Tue, 23 Apr 2002 03:10:07 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.2/8.12.2/Submit) with ESMTP id g3N8A1nh025091; Tue, 23 Apr 2002 03:10:01 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Tue, 23 Apr 2002 03:10:01 -0500 (CDT) From: Mike Silbersack To: Mike Barcroft Cc: Garrett Wollman , "M. Warner Losh" , , Subject: Re: cvs commit: src/sys/kern kern_descrip.c kern_exec.c src/sys/sys filedesc.h In-Reply-To: <20020422160742.B8421@espresso.q9media.com> Message-ID: <20020423030714.U24733-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 22 Apr 2002, Mike Barcroft wrote: > I agree that the current solution to this problem is wrong. I think > the most correct solution would be to fix each set[ug]id program to > ensure that it has a working set of the basic std{in,out,err} > descriptors by making a series of fstat() calls and watching for a > EBADF. > > Best regards, > Mike Barcroft But... if you go through and fix the bugs in the various set[ug]id programs, doesn't that make the kernel change a no-op? And in that case, what's the harm in having such a feature in the kernel? Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message