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

Peter TB Brett peter@peter-b.co.uk
Sun Apr 13 08:09:00 GMT 2014


On 2014-04-13 08:44, 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?).

I specifically asked about this on libc-help yesterday:

http://thread.gmane.org/gmane.comp.lib.glibc.user/2196

I got the following answer:

On 2014-04-12 18:02, Carlos O'Donell wrote:
> 
> To make a long story short you should just call statfs64.

Some further advice and/or explanation would be appreciated.

                                          Peter

-- 
Dr Peter Brett <peter@peter-b.co.uk>



More information about the Libc-alpha mailing list