On Fri, Jan 26, 2007 at 06:57:50PM +0100, Casper.Dik at Sun.COM wrote: > > >And we can't have a fiction of creating a thread as by a call to > >pthread_create() in a signal handler, right? > > No; you are not allowed to do anything in a signal handler. > (Only call async-signal-safe functions)
Right. > >Including shells. So psetenv(1) really only helps prior to an exec(2). > > Not for shells. (I don't expect shells to use the standard *environ[]) Ah, shells could be using exec*e(2), indeed.
