* Thomas Stüfe: > Hi Florian, > > Interesting, but in this case it is not posix_spawn, but plain > fork(). The VM does this, the exec calls come from us, not the > libc. See childproc.c .
Ah. Others have unearthed the genealogy. Thanks for that. I wonder if in a Java context, things are slightly different because it is conceivable that someone would write a shell script from Java and then execute it directly, as a program, without setting the executable bit. On the glibc side, I don't think we've seen much fallout from our removal of the shell fallback, but then we did so only for new binaries. (Old binaries linked against an older glibc version would still perform the shell fallback.) Thanks, Florian