mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
e1b33bba7c
Mark internal statfs functions with attribute_hidden to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/sys/statfs.h (__fstatfs): Add attribute_hidden. (__statfs64): Likewise. (__fstatfs64): Likewise. * include/sys/statvfs.h (__statvfs64): Likewise. (__fstatvfs64): Likewise. * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise. (__statfs_filesize_max): Likewise. (__statfs_symlinks): Likewise. (__statfs_chown_restricted): Likewise.
15 lines
362 B
C
15 lines
362 B
C
#ifndef _SYS_STATVFS_H
|
|
#include <io/sys/statvfs.h>
|
|
|
|
#ifndef _ISOMAC
|
|
/* Now define the internal interfaces. */
|
|
extern int __statvfs64 (const char *__file, struct statvfs64 *__buf)
|
|
attribute_hidden;
|
|
extern int __fstatvfs64 (int __fildes, struct statvfs64 *__buf)
|
|
attribute_hidden;
|
|
|
|
libc_hidden_proto (statvfs)
|
|
libc_hidden_proto (fstatvfs)
|
|
#endif
|
|
#endif
|