[PATCH] Use statfs64() in shm_open() and posix_getpt().
Mike Frysinger
vapier@gentoo.org
Sat Aug 2 14:30:00 GMT 2014
On Sun 13 Apr 2014 19:07:49 Andreas Schwab wrote:
> Ondřej Bílka <neleai@seznam.cz> writes:
> > On Sun, Apr 13, 2014 at 09:44:11AM +0200, Andreas Schwab wrote:
> >> Peter TB Brett <peter@peter-b.co.uk> writes:
> >> > + || (statfs64 (_PATH_DEVPTS, &fsbuf) == 0
> >>
> >> This is not namespace clean, and will introduce a PLT call (you did run
> >> make check?).
> >
> > According to Carlos its part of librt.so
>
> ??? posix_openpt is part of libc.
right, posix_openpt is part of libc, but shm_open is part of librt. so the
former should use __statfs64 to avoid the PLT while the latter should use
statfs64.
so can we get an updated patch now ? :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140802/add89dd5/attachment.sig>
More information about the Libc-alpha
mailing list