Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On Mon, May 11, 2020 at 11:07:02PM +0200, Kamil Rytarowski wrote:
> On 19.04.2020 03:06, Joerg Sonnenberger wrote:
> > Module Name: src
> > Committed By: joerg
> > Date: Sun Apr 19 01:06:16 UTC 2020
> >
> > Modified Files:
> > src/lib/libc/gen: pthread_atfork.c
> > src/libexec/ld.elf_so: rtld.c rtld.h symbols.map
> >
> > Log Message:
> > Rename __atomic_fork to __locked_fork and give it &errno as argument.
> > rtld and libc use different storage, so the initial version would
> > incorrectly report the failure reason for fork().
> >
> > There is still a small race condition inside ld.elf_so as it doesn't use
> > thread-safe errno internally, but that's a more contained internal
> > issue.
> >
> >
>
>
> Should we add the same logic for clone(2)?
clone only exists for Linux compat. I see no reason to support any fork
emulation for it.
Joerg
Home |
Main Index |
Thread Index |
Old Index