John Plocher <john.plocher at gmail.com> wrote:

> > Just various non-obvious functions in libc(). ? (Do you think most 
> > programmers
> > realize wordexp(), pututxline() or grantpt() call fork+exec?)
>
> This is a reasonable characterization of what happens if you lose the
> fork and exec privs - a few things break, some of which are obvious
> (i.e., fork() no longer works) and some less so.  Somewhere there is a
> list of things in the system that fail if you don't have those privs
> AND there is nothing on that list that causes angst.

A good reason to require such thing to be documented in the related man page.
Before I realized in 2005, that e.g. wordexp() did not work on OpenSolaris 
because it depended on a non-distributable hacked version of ksh88, verry few 
people did realize that a libc function other than e.g. system() or popen() 
would call fork.

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to