public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set
       [not found] <bug-23734-131@http.sourceware.org/bugzilla/>
@ 2020-04-01 17:07 ` tuliom at ascii dot art.br
  2021-03-23 13:24 ` woodard at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: tuliom at ascii dot art.br @ 2020-04-01 17:07 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=23734

Tulio Magno Quites Machado Filho <tuliom at ascii dot art.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tuliom at ascii dot art.br

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set
       [not found] <bug-23734-131@http.sourceware.org/bugzilla/>
  2020-04-01 17:07 ` [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set tuliom at ascii dot art.br
@ 2021-03-23 13:24 ` woodard at redhat dot com
  2021-06-08 21:06 ` woodard at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-03-23 13:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=23734

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |27019


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27019
[Bug 27019] BUILD metabug
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set
       [not found] <bug-23734-131@http.sourceware.org/bugzilla/>
  2020-04-01 17:07 ` [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set tuliom at ascii dot art.br
  2021-03-23 13:24 ` woodard at redhat dot com
@ 2021-06-08 21:06 ` woodard at redhat dot com
  2022-04-12 17:41 ` carlos at redhat dot com
  2022-04-12 17:41 ` carlos at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: woodard at redhat dot com @ 2021-06-08 21:06 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=23734

Ben Woodard <woodard at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|27019                       |


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=27019
[Bug 27019] BUILD metabug
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set
       [not found] <bug-23734-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-06-08 21:06 ` woodard at redhat dot com
@ 2022-04-12 17:41 ` carlos at redhat dot com
  2022-04-12 17:41 ` carlos at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: carlos at redhat dot com @ 2022-04-12 17:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=23734

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com
   Target Milestone|---                         |2.35

--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
Fixed in glibc 2.35 with commit 32612615c58b394c3eb09f020f31310797ad3854.

commit 32612615c58b394c3eb09f020f31310797ad3854
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Jan 24 10:46:17 2022 -0300

    elf: Issue la_symbind for bind-now (BZ #23734)

    The audit symbind callback is not called for binaries built with
    -Wl,-z,now or when LD_BIND_NOW=1 is used, nor the PLT tracking callbacks
    (plt_enter and plt_exit) since this would change the expected
    program semantics (where no PLT is expected) and would have performance
    implications (such as for BZ#15533).

    LAV_CURRENT is also bumped to indicate the audit ABI change (where
    la_symbind flags are set by the loader to indicate no possible PLT
    trace).

    To handle powerpc64 ELFv1 function descriptor, _dl_audit_symbind
    requires to know whether bind-now is used so the symbol value is
    updated to function text segment instead of the OPD (for lazy binding
    this is done by PPC64_LOAD_FUNCPTR on _dl_runtime_resolve).

    Checked on x86_64-linux-gnu, i686-linux-gnu, aarch64-linux-gnu,
    powerpc64-linux-gnu.

    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
    Tested-by: Carlos O'Donell <carlos@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set
       [not found] <bug-23734-131@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2022-04-12 17:41 ` carlos at redhat dot com
@ 2022-04-12 17:41 ` carlos at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: carlos at redhat dot com @ 2022-04-12 17:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=23734

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
Fixed in glibc 2.35.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-12 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23734-131@http.sourceware.org/bugzilla/>
2020-04-01 17:07 ` [Bug dynamic-link/23734] la_symbind*() doesn't get called when LD_BIND_NOW is set tuliom at ascii dot art.br
2021-03-23 13:24 ` woodard at redhat dot com
2021-06-08 21:06 ` woodard at redhat dot com
2022-04-12 17:41 ` carlos at redhat dot com
2022-04-12 17:41 ` carlos at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).