RPC: clnt_create() misbehaving with glibc 2.31?
Michael Brunnbauer
brunni@netestate.de
Mon Mar 30 15:41:59 GMT 2020
Hello Florian,
On Mon, Mar 30, 2020 at 05:27:35PM +0200, Florian Weimer wrote:
> > Is clnt_create() implemented fully by TIRPC or is glibc involved somehow?
>
> That depends. You need to check the symbol version which the
> application is bound to (e.g., using eu-readelf or objdump -T).
Looks like TIRPC's clnt_create is used. My real client has:
0000000000000000 DF *UND* 0000000000000000 TIRPC_0.3.0 clnt_create
And my 64bit rpcinfo - which also shows the problem - has:
objdump -T /usr/bin/rpcinfo |grep clnt_
0000000000000000 DF *UND* 0000000000000000 TIRPC_0.3.0 clnt_sperrno
0000000000000000 DF *UND* 0000000000000000 TIRPC_0.3.0 clnt_vc_create
0000000000000000 DF *UND* 0000000000000000 TIRPC_0.3.0 clnt_tli_create
0000000000000000 DF *UND* 0000000000000000 TIRPC_0.3.0 clnt_tp_create
0000000000000000 DF *UND* 0000000000000000 TIRPC_0.3.0 clnt_pcreateerror
0000000000000000 DF *UND* 0000000000000000 TIRPC_0.3.0 clnt_perror
My 32bit rpcinfo shows this:
objdump -T ./rpcinfo |grep clnt_
00000000 DF *UND* 00000000 clnt_tp_create
00000000 DF *UND* 00000000 clnt_perror
00000000 DF *UND* 00000000 clnt_tli_create
00000000 DF *UND* 00000000 clnt_pcreateerror
00000000 DF *UND* 00000000 clnt_sperrno
00000000 DF *UND* 00000000 clnt_vc_create
As glibc-stuff shows with "GLIBC_2.0" in there, I assume the 32bit version also
uses TIRPC's functions.
I will have a closer look at what the TIRPC clnt_create does and maybe get in
contact with the TIRPC maintainers.
Regards,
Michael Brunnbauer
--
++ Michael Brunnbauer
++ netEstate GmbH
++ Geisenhausener Straße 11a
++ 81379 München
++ Tel +49 89 32 19 77 80
++ Fax +49 89 32 19 77 89
++ E-Mail brunni@netestate.de
++ https://www.netestate.de/
++
++ Sitz: München, HRB Nr.142452 (Handelsregister B München)
++ USt-IdNr. DE221033342
++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20200330/3ab2e95e/attachment.sig>
More information about the Libc-help
mailing list