glibc/sysdeps/unix/sysv/linux/wordsize-64
Joseph Myers d3ab671c94 Fix pathconf statvfs namespace (bug 18507).
pathconf uses __statvfs64, and fpathconf uses __fstatvfs64.  On
systems using sysdeps/unix/sysv/linux/wordsize-64, __statvfs64 then
brings in the strong symbol statvfs, and __fstatvfs64 brings in the
strong symbol fstatvfs, which are not in all the standards that have
pathconf and fpathconf.  This patch fixes this by making those symbols
into weak aliases.

Tested for x86_64 and x86 (testsuite, and that disassembly of
installed shared libraries is unchanged by the patch).

	[BZ #18507]
	* sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
	__fstatvfs and define as weak alias of __fstatvfs.  Use
	libc_hidden_weak.
	* sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
	and define as weak alias of __statvfs.  Use libc_hidden_weak.
	* sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
	Define as alias of __fstatvfs, not fstatvfs.
	(fstatvfs64): Likewise.
	* sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
	Define as alias of __statvfs, not statvfs.
	(statvfs64): Likewise.
	* conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
	Remove variable.
2015-06-09 19:52:01 +00:00
..
aio_read64.c
aio_read.c
aio_write64.c
aio_write.c
creat64.c
dl-fxstatat64.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
fallocate64.c
fallocate.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
fstatfs64.c
fstatvfs64.c
fstatvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
ftruncate64.c
fxstat64.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fxstatat64.c
fxstatat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdents64.c
getdents.c
getdirentries64.c
getdirentries.c
getrlimit64.c
glob64.c Fix glob64 broken by cleanup. 2013-05-06 17:11:12 -07:00
internal_statvfs64.c
lio_listio64.c
lio_listio.c
lxstat64.c
lxstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mmap64.c
open64.c
openat64.c
openat.c Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}. 2013-05-03 16:33:26 -07:00
posix_fadvise64.c
posix_fadvise.c Fix wordsize-64 posix_fadvise64, posix_fallocate64 namespace (bug 17777). 2015-01-05 14:37:07 +00:00
posix_fallocate64.c
posix_fallocate.c __ASSUME_FALLOCATE is always true on 32-bit architectures 2015-05-05 08:28:35 +02:00
pread64.c
preadv64.c
preadv.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pwrite64.c
pwritev64.c
pwritev.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
readdir64_r.c
readdir64.c
readdir_r.c CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r 2013-08-16 09:40:34 +02:00
readdir.c Move common dirent implementation from sysdeps/unix to sysdeps/posix. 2012-08-07 14:47:34 -07:00
sendfile64.c
setrlimit64.c
statfs64.c
statvfs64.c
statvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
syscalls.list Fix posix_spawn getrlimit64 namespace (bug 17991). 2015-02-18 00:26:35 +00:00
truncate64.c
Versions
xstat64.c
xstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00