[Bug 280318] fork() can deadlock on rtld_phdr_lock

[email protected] Mon, 05 Aug 2024 00:33:07 +0000
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280318

--- Comment #4 from [email protected] ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D279e543dc707ee19b28cee8a00deafea1=
f8b8d8e

commit 279e543dc707ee19b28cee8a00deafea1f8b8d8e
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2024-07-17 04:05:33 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2024-08-05 00:32:11 +0000

    rtld: add LD_NO_DL_ITERATE_PHDR_AFTER_FORK env var

    PR:     280318

    (cherry picked from commit 860c4d94ac46cee35a678cf3c9cdbd437dfed75e)

 libexec/rtld-elf/rtld.1      | 10 +++++++++-
 libexec/rtld-elf/rtld.c      |  1 +
 libexec/rtld-elf/rtld.h      |  1 +
 libexec/rtld-elf/rtld_lock.c |  7 +++++--
 4 files changed, 16 insertions(+), 3 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=