posix_spawn facility

Bruno Haible bruno@clisp.org
Tue Apr 18 22:10:34 GMT 2023


Eric Blake wrote:
> we now have implementations in the wild that differ in behavior, and
> use security as a reason for the divergence, it is worth getting that
> clarified in POSIX.  I'll file a bug against POSIX shortly

For the reference, the systems that return ENOEXEC for posix_spawnp
attempting to execute a script without #! marker are:
  - glibc/Linux ≥ 2.15
  - glibc/Hurd ≥ 2.33 (commit 13adfa34aff03fd9f1c1612b537a0d736ddb6c2b)
  - musl libc

Bruno





More information about the Cygwin mailing list