From owner-cvs-all Tue Apr 23 0: 5:25 2002 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id EF98437B405; Tue, 23 Apr 2002 00:05:12 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g3N74tHx078397; Tue, 23 Apr 2002 09:04:55 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Mike Barcroft Cc: Garrett Wollman , "M. Warner Losh" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_descrip.c kern_exec.c src/sys/sys filedesc.h In-Reply-To: Your message of "Mon, 22 Apr 2002 16:07:42 EDT." <20020422160742.B8421@espresso.q9media.com> Date: Tue, 23 Apr 2002 09:04:55 +0200 Message-ID: <78396.1019545495@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20020422160742.B8421@espresso.q9media.com>, Mike Barcroft writes: >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. Right, and the best fix to the middle east situation is to make all persons living down there like each other. Some times the best fix is just not viable... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message