public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables
@ 2020-07-06 16:57 fweimer at redhat dot com
  2020-07-06 16:57 ` [Bug network/26210] " fweimer at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-07-06 16:57 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 26210
           Summary: Incorrect use of hidden symbols for global sunrpc
                    variables
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
  Target Milestone: ---
             Flags: security-

This commit went into glibc 2.28:

commit 89aacb513eb77549a29df2638913a0f8178cf3f5
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri May 11 15:36:50 2018 +0200

    sunrpc: Remove stray exports without --enable-obsolete-rpc [BZ #23166]

It introduces hidden alias for svc_pollfd, svc_max_pollfd, svc_fdset, but those
hidden aliases are incompatible with copy relocations.

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

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

* [Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables
  2020-07-06 16:57 [Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables fweimer at redhat dot com
@ 2020-07-06 16:57 ` fweimer at redhat dot com
  2020-07-06 16:57 ` fweimer at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-07-06 16:57 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=23166
                 CC|                            |fweimer at redhat dot com

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

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

* [Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables
  2020-07-06 16:57 [Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables fweimer at redhat dot com
  2020-07-06 16:57 ` [Bug network/26210] " fweimer at redhat dot com
@ 2020-07-06 16:57 ` fweimer at redhat dot com
  2020-07-06 17:01 ` fweimer at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-07-06 16:57 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com

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

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

* [Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables
  2020-07-06 16:57 [Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables fweimer at redhat dot com
  2020-07-06 16:57 ` [Bug network/26210] " fweimer at redhat dot com
  2020-07-06 16:57 ` fweimer at redhat dot com
@ 2020-07-06 17:01 ` fweimer at redhat dot com
  2020-07-06 17:30 ` fweimer at redhat dot com
  2020-07-08  6:55 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-07-06 17:01 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
Also applies to rpc_createerr (which is a global data symbol, too).

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

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

* [Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables
  2020-07-06 16:57 [Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables fweimer at redhat dot com
                   ` (2 preceding siblings ...)
  2020-07-06 17:01 ` fweimer at redhat dot com
@ 2020-07-06 17:30 ` fweimer at redhat dot com
  2020-07-08  6:55 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-07-06 17:30 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Patch posted: https://sourceware.org/pipermail/libc-alpha/2020-July/115834.html

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

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

* [Bug network/26210] Incorrect use of hidden symbols for global sunrpc variables
  2020-07-06 16:57 [Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables fweimer at redhat dot com
                   ` (3 preceding siblings ...)
  2020-07-06 17:30 ` fweimer at redhat dot com
@ 2020-07-08  6:55 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2020-07-08  6:55 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.32

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for glibc 2.32 by:

commit 78e02c469828fcfb6a5cf73dbcceb4f60fb6fafd
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Jul 8 07:58:51 2020 +0200

    sunrpc: Remove hidden aliases for global data symbols (bug 26210)

    It is generally not possible to add hidden aliases for global data
    symbols: If the main executable contains a copy relocation against
    the symbol, the hidden aliases keep pointing to the glibc-internal
    copy of the symbol, instead of the symbol actually used by the
    application.

    Fixes commit 89aacb513eb77549a29df2638913a0f8178cf3f5 ("sunrpc:
    Remove stray exports without --enable-obsolete-rpc [BZ #23166]").

    Reviewed-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] 6+ messages in thread

end of thread, other threads:[~2020-07-08  6:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 16:57 [Bug network/26210] New: Incorrect use of hidden symbols for global sunrpc variables fweimer at redhat dot com
2020-07-06 16:57 ` [Bug network/26210] " fweimer at redhat dot com
2020-07-06 16:57 ` fweimer at redhat dot com
2020-07-06 17:01 ` fweimer at redhat dot com
2020-07-06 17:30 ` fweimer at redhat dot com
2020-07-08  6:55 ` fweimer 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).