Aucbvax.5575
fa.unix-wizards
utzoo!decvax!ucbvax!unix-wizards
Sun Dec 27 02:18:25 1981
Re:  POPEN(III) in V7 Stdio
>From decvax!duke!unc!somewhere!smb@Berkeley Sun Dec 27 02:06:06 1981
In-real-life: Steven M. Bellovin

I don't much like the idea of changing something like popen, though
I confess I can't think of anything that your suggestion would break.
But let me take this opportunity to push one of my pet causes:  the
under-use of FIOCLEX, which causes an open file to be closed after
a successful exec() call.  For one thing, it closes a security hole
(does *your* version of Adventure close the cave file during a
shell escape); also, it prevents problems with programs running out
of file descriptor slots.

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.