From owner-freebsd-hackers Fri Sep 15 8:23:57 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.uni-bielefeld.de (mail2.uni-bielefeld.de [129.70.4.90]) by hub.freebsd.org (Postfix) with ESMTP id 1DC5B37B43C; Fri, 15 Sep 2000 08:23:51 -0700 (PDT) Received: from frolic.no-support.loc (ppp36-174.hrz.uni-bielefeld.de [129.70.36.174]) by mail.uni-bielefeld.de (Sun Internet Mail Server sims.4.0.2000.05.17.04.13.p6) with ESMTP id <0G0X0005XPFJFC@mail.uni-bielefeld.de>; Fri, 15 Sep 2000 17:23:50 +0200 (MET DST) Received: (from bjoern@localhost) by frolic.no-support.loc (8.9.3/8.9.3) id DAA03536; Fri, 15 Sep 2000 03:40:53 +0200 (CEST envelope-from bjoern) Date: Fri, 15 Sep 2000 03:40:52 +0200 From: Bjoern Fischer Subject: Re: Fdescfs updates--coming to a devfs near you! In-reply-to: <56645.968935026@critter>; from phk@critter.freebsd.dk on Thu, Sep 14, 2000 at 02:37:06PM +0200 To: Poul-Henning Kamp Cc: hackers@FreeBSD.ORG, current@FreeBSD.ORG Message-id: <20000915034052.B2859@frolic.no-support.loc> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: 7BIT User-Agent: Mutt/1.2.5i References: <20000914115342.I77593@strontium.scientia.demon.co.uk> <56645.968935026@critter> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Sep 14, 2000 at 02:37:06PM +0200, Poul-Henning Kamp wrote: [...] > The majority of these programs could be handled by adding knowledge > of "-" as a magic filename to fopen(3). > > At the same time I would really love if we implemented "|.*" to mean > "do an popen(3)" instead. This would break POSIX and raise a security flaw in many applications. fopen(3) *never* should perform a fork/exec. Scary. Bjoern -- -----BEGIN GEEK CODE BLOCK----- GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+ K- !w !O !M !V PS++ PE- PGP++ t+++ !5 X++ tv- b+++ D++ G e+ h-- y+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message