Summary: | posix_spawn() invokes sh on unknown executable image types | ||
---|---|---|---|
Product: | glibc | Reporter: | Shea Levy <shea> |
Component: | libc | Assignee: | Ulrich Drepper <drepper.fsp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bruno, bugdal, fweimer, shea |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | Trivial fix |
Description
Shea Levy
2011-08-25 20:46:01 UTC
Confirmed. My cynical prediction is that this bug will be ignored either for "compatibility reasons" or because of the fact that someone obviously went to a bit of trouble to write that completely wrong code for shell invocation that doesn't even belong in spawni.c. Please prove me wrong... Created attachment 5915 [details]
Trivial fix
This patch removes the non-compliant behaviour.
You really don't know what binary compatibility means, right? git contains a change. (In reply to comment #3) > You really don't know what binary compatibility means, right? git contains a > change. Sorry, my fix was far too naive. I shouldn't have submitted that patch at all if I wasn't going to take the time to get it right. The change from 2011 had no effect on the Hurd. The Hurd case has been fixed now, by Samuel Thibault: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=13adfa34aff03fd9f1c1612b537a0d736ddb6c2b |