Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2000 03:40:52 +0200
From:      Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        hackers@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: Fdescfs updates--coming to a devfs near you!
Message-ID:  <20000915034052.B2859@frolic.no-support.loc>
In-Reply-To: <56645.968935026@critter>; from phk@critter.freebsd.dk on Thu, Sep 14, 2000 at 02:37:06PM %2B0200
References:  <20000914115342.I77593@strontium.scientia.demon.co.uk> <56645.968935026@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
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-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915034052.B2859>