From owner-cvs-all Sun Oct 11 10:28:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA15404 for cvs-all-outgoing; Sun, 11 Oct 1998 10:28:52 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA15390; Sun, 11 Oct 1998 10:28:42 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id TAA21969; Sun, 11 Oct 1998 19:27:56 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id TAA09593; Sun, 11 Oct 1998 19:27:54 +0200 (MET DST) Message-ID: <19981011192754.34404@follo.net> Date: Sun, 11 Oct 1998 19:27:54 +0200 From: Eivind Eklund To: Matthew Dillon , Peter Wemm , Bruce Evans , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen popen.c References: <199810110309.LAA18511@spinner.netplex.com.au> <199810110906.CAA02043@apollo.backplane.com> <19981011193603.A28135@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <19981011193603.A28135@nagual.pp.ru>; from Andrey A. Chernov on Sun, Oct 11, 1998 at 07:36:03PM +0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sun, Oct 11, 1998 at 07:36:03PM +0400, Andrey A. Chernov wrote: > On Sun, Oct 11, 1998 at 02:06:17AM -0700, Matthew Dillon wrote: > > Wait a second!!!!!! vfork() was specifically designed for situations > > where you call the exec*() functions. That's the whole point of > > using vfork() rather then fork()!!!!! > > Yes, I agree too. There is a lots programs which do that way, much more > than in our src tree. Exec*() must be fixed instead to avoid calling > malloc() exec() isn't the only problem. There are programs calling e.g. wanr() on failure of the exec(). We have to do an audit WRT which programs are abusing vfork(), anyway... Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message