[Bug nptl/20220] New: New recvmsg wrapper in 2.24 missing from libpthread

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug nptl/20220] New: New recvmsg wrapper in 2.24 missing from libpthread

giuliomoro at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=20220

            Bug ID: 20220
           Summary: New recvmsg wrapper in 2.24 missing from libpthread
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: adhemerval.zanella at linaro dot org, drepper.fsp at gmail dot com
  Target Milestone: ---

Currently, libpthread only export recvmsg@GLIBC_2.0, not recvmsg@GLIBC_2.24.
It seems that dlsym can pick this symbol, and applications can call the
function with the wrong struct definition as a result.

I suspect a 2.24 version needs to be added to nptl/Versions as well.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug nptl/20220] New recvmsg wrapper in 2.24 missing from libpthread

giuliomoro at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=20220

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mlichvar at redhat dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug nptl/20220] New recvmsg wrapper in 2.24 missing from libpthread

giuliomoro at yahoo dot it
In reply to this post by giuliomoro at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=20220

--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
As Joseph pointed out, this seems likely BZ#14932.  My understanding is
libpthread provided old {recv,send}msg only for compatibility reasons, new
programs should link against newer one on libc and dlsym should return the new
version as well.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug nptl/20220] New recvmsg wrapper in 2.24 missing from libpthread

giuliomoro at yahoo dot it
In reply to this post by giuliomoro at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=20220

Florian Weimer <fweimer at redhat dot com> changed:

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

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Okay, let's treat it as a duplicate.

*** This bug has been marked as a duplicate of bug 14932 ***

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug nptl/20220] New recvmsg wrapper in 2.24 missing from libpthread

giuliomoro at yahoo dot it
In reply to this post by giuliomoro at yahoo dot it
https://sourceware.org/bugzilla/show_bug.cgi?id=20220

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Depends on|                            |24741
         Resolution|DUPLICATE                   |---

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
I think we should fix this bug (in recvmsg) by removing the forwarder in
libpthread.  The fix for bug 24741 enables that.


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=24741
[Bug 24741] ld.so should not require that a versioned symbol is always
implemented in the same library
--
You are receiving this mail because:
You are on the CC list for the bug.