glibc/sysdeps/unix/sysv/linux/wordsize-64
Joseph Myers a287953a45 Fix wordsize-64 posix_fadvise64, posix_fallocate64 namespace (bug 17777).
On systems using sysdeps/unix/sysv/linux/wordsize-64, posix_fadvise64
and posix_fallocate64 (non-POSIX) are strong aliases for posix_fadvise
and posix_fallocate (POSIX), meaning references to the latter wrongly
bring in definitions of the former.  They should be weak aliases; this
patch makes them so.

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

	[BZ #17777]
	* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
	(posix_fadvise64): Define as weak alias not strong alias.
	* sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
	(posix_fallocate64): Likewise.
	* conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
	Remove variable.
	(test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
	(test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
	(test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
	(test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
	(test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2015-01-05 14:37:07 +00:00
..
aio_read64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_read.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_write64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_write.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
creat64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
dl-fxstatat64.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
fallocate64.c * sysdeps/unix/sysv/linux/fallocate.c: New file. 2009-03-02 16:15:58 +00:00
fallocate.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fstatfs64.c
fstatvfs64.c
fstatvfs.c
ftruncate64.c
fxstat64.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fxstatat64.c * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdents64.c
getdents.c Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
getdirentries64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
getdirentries.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
getrlimit64.c
glob64.c Fix glob64 broken by cleanup. 2013-05-06 17:11:12 -07:00
internal_statvfs64.c
lio_listio64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
lio_listio.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
lxstat64.c
lxstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mmap64.c
open64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
openat64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
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 * sysdeps/posix/posix_fallocate64.c: Undefine 2007-07-28 18:13:45 +00:00
posix_fallocate.c Fix wordsize-64 posix_fadvise64, posix_fallocate64 namespace (bug 17777). 2015-01-05 14:37:07 +00:00
pread64.c
preadv64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
preadv.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pwrite64.c
pwritev64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
pwritev.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00: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
syscalls.list Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
truncate64.c
Versions Add missing export of fallocate64 on 32-bit platforms. 2009-05-15 21:00:09 -07:00
xstat64.c
xstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00