Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2023 19:36:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275393] RTLD_DEEPBIND semantics not quite right
Message-ID:  <bug-275393-227-a73fEBTnag@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275393-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275393-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275393

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D9daf6cd0f46416d9c6eb0411ea6042cd4=
2b8a9bc

commit 9daf6cd0f46416d9c6eb0411ea6042cd42b8a9bc
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-11-29 18:30:59 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-11-30 19:34:36 +0000

    RTLD_DEEPBIND: make lookup not just symbolic, but walk all refobj' DAGs

    before starting the walk over the global list.  Effectively we visit
    needed objects first as well, instead of just the object itself.
    This seems to better match the semantic offered by the glibc flag.

    Reported by:    kevans
    PR:     275393
    Reviewed by:    kevans
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D42841

 libexec/rtld-elf/rtld.c | 8 ++++++--
 libexec/rtld-elf/rtld.h | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275393-227-a73fEBTnag>