#13111: Possible execve bug in Haiku
----------------------------+----------------------------
Reporter: miqlas | Owner: axeld
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: System/POSIX | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
----------------------------+----------------------------
Comment (by korli):
2 possible patches:
In the first, I have skipped the use of pthread_atfork() because we need
to be sure our handler comes last, and there is at least another hook _
_reinit_pwd_backend_after_fork.
On another hand, we could replace the atfork() call in arch-specifics.cpp
with pthread_atfork(), assuming we're the first to call pthread_atfork().
I can't reproduce the issue with fish, so I can't validate that this help
with the issue.
--
Ticket URL: <https://dev.haiku-os.org/ticket/13111#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.