[PATCH] Use statfs64() in shm_open() and posix_getpt().

Mike Frysinger vapier@gentoo.org
Tue Aug 5 00:49:00 GMT 2014


On Mon 04 Aug 2014 15:51:15 Joseph S. Myers wrote:
> On Sat, 2 Aug 2014, Mike Frysinger wrote:
> > 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.
> 
> No, both should use __statfs64 as statfs64 is not part of the POSIX
> namespace but shm_open is.  As previously discussed, PLT avoidance and
> being namespace-clean are separate issues.

why does that matter ?  statfs64 is always exported by libc and thus is in the 
visible ABI namespace.  i don't see why glibc's internals need to be concerned 
with conforming to POSIX at all -- they're internals.  what are you trying to 
cater to ?
-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/20140805/036af4fc/attachment.sig>


More information about the Libc-alpha mailing list