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

bugdal at aerifal dot cx sourceware-bugzilla@sourceware.org
Tue Sep 18 14:33:00 GMT 2018


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

--- Comment #14 from Rich Felker <bugdal at aerifal dot cx> ---
To elaborate on what Szabolcs Nagy said in #13 about using the shell, it can be
done safely with no need for quoting on the caller side via something like
(example for cd):

char *argv[] = { "sh", "-c", "cd \"$1\" && shift && exec \"$@\"", "sh", dir,
prog, argv1, argv2, ..., 0 }

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


More information about the Glibc-bugs mailing list