This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/10311] clone(CLONE_VM) fails with pthread_getattr_np on i386


https://sourceware.org/bugzilla/show_bug.cgi?id=10311

--- Comment #17 from Rich Felker <bugdal at aerifal dot cx> ---
CDPATH is only processed if the argument does not begin with /; I'm assuming
you would pass an absolute pathname.

Normally you would also just assume sh is in the PATH, and that it at least
minimally resembles a POSIX shell, and use posix_spawnp. For specialized needs
like suid of course it would make sense to use an absolute pathname and a
specialized helper program.

The shell can perform file descriptor closing if you want (exec %d<&-). I'm in
the "closeall is a bogus operation" camp but of course this is controversial.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]