glibc/sysdeps/unix/sysv/linux/wordsize-64
Joseph Myers 4674df40bb Remove __ASSUME_FALLOCATE.
Given current Linux kernel version requirements, we can always assume
the fallocate syscall to be available.  This patch removes
__ASSUME_FALLOCATE and a test for whether __NR_fallocate is defined.

Tested for x86_64 and x86 that installed stripped shared libraries are
unchanged by the patch.

	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
	Remove macro.
	* sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
	include <kernel-features.h>.
	[!__ASSUME_FALLOCATE]: Remove conditional code.
	(posix_fallocate) [__NR_fallocate]: Make code unconditional.
2016-03-17 12:15:51 +00:00
..
Versions Add missing export of fallocate64 on 32-bit platforms. 2009-05-15 21:00:09 -07:00
aio_read.c
aio_read64.c
aio_write.c
aio_write64.c
creat64.c
dl-fxstatat64.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
fallocate.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fallocate64.c * sysdeps/unix/sysv/linux/fallocate.c: New file. 2009-03-02 16:15:58 +00:00
fstatfs64.c
fstatvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
fstatvfs64.c
ftruncate64.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fxstat64.c
fxstatat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fxstatat64.c
getdents.c
getdents64.c
getdirentries.c
getdirentries64.c
getrlimit64.c
glob64.c Fix glob64 broken by cleanup. 2013-05-06 17:11:12 -07:00
internal_statvfs64.c
lio_listio.c
lio_listio64.c
lxstat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
lxstat64.c
mmap.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
mmap64.c
open64.c
openat.c Remove unused definition of __openat(64)_nocancel 2015-08-11 09:37:38 +02:00
openat64.c
posix_fadvise.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
posix_fadvise64.c
posix_fallocate.c Remove __ASSUME_FALLOCATE. 2016-03-17 12:15:51 +00:00
posix_fallocate64.c
pread64.c
preadv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
preadv64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
pwrite64.c
pwritev.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pwritev64.c * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64. 2009-04-03 19:57:16 +00:00
readdir.c Move common dirent implementation from sysdeps/unix to sysdeps/posix. 2012-08-07 14:47:34 -07:00
readdir64.c
readdir64_r.c
readdir_r.c CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r 2013-08-16 09:40:34 +02:00
sendfile64.c
setrlimit64.c
statfs64.c
statvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
statvfs64.c
syscalls.list Fix linux personality syscall wrapper 2015-12-31 00:17:48 +00:00
truncate64.c
xstat.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
xstat64.c