glibc/sysdeps/unix/sysv/linux/arm
Mark Wielaard 8b7b7f75d9 Add LFS support for fts functions (bug 11460)
fts didn't have large-file support yet and fts.h had an #error preventing
usage when _FILE_OFFSET_BITS was set. This required nasty workarounds for
programs using fts with LFS. This patch implements LFS support for fts by
adding FTS64 and FTENT64 variants plus fts64 functions. Which are simple
aliases for 64bit off_t arches.

Also includes a simple testcase for some of the fts functions with or
without LFS enabled.

	[BZ #11460]
	* io/Makefile (routines): Add fts64.
	(tests): Add tst-fts and tst-fts-lfs.
	(CFLAGS-fts64.c): New.
	* io/Versions (GLIBC_2.23): New.
	* io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
	function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
	FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
	FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
	* io/fts.h (FTS64): New if _USE_LARGEFILE64.
	(FTSENT64): Likewise.
	(fts64_children): Likewise.
	(fts64_close): Likewise.
	(fts64_open): Likewise.
	(fts64_read): Likewise.
	(fts64_set): Likewise.
	* io/fts64.c: New file.
	* io/tst-fts.c: New test.
	* io/tst-fts-lfs.c: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
	GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
	fts64_set.
	* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
	* sysdeps/wordsize-64/fts.c: New file.
	* sysdeps/wordsize-64/fts64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2015-11-06 11:24:16 +01:00
..
bits Move bits/atomic.h to atomic-machine.h (bug 14912). 2015-09-11 20:00:19 +00:00
sys Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
Makefile ARM: VDSO support 2015-06-04 21:10:43 +00:00
Versions ARM: VDSO support 2015-06-04 21:10:43 +00:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aeabi_read_tp.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
alphasort64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
arch-fork.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
arm-features.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
atomic-machine.h Move bits/atomic.h to atomic-machine.h (bug 14912). 2015-09-11 20:00:19 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
c++-types.data Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
clone.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-cache.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-machine.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-procinfo.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-procinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fcntl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ftruncate64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fxstat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fxstatat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdents64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getrlimit64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
glob64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
init-first.c ARM: VDSO support 2015-06-04 21:10:43 +00:00
ioperm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ld.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libBrokenLocale.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libanl.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libc-do-syscall.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
libc-vdso.h ARM: VDSO support 2015-06-04 21:10:43 +00:00
libc.abilist Add LFS support for fts functions (bug 11460) 2015-11-06 11:24:16 +01:00
libcrypt.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libdl.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libm.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libnsl.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libpthread.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libresolv.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
librt.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libthread_db.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
libutil.abilist Verbatim NPTL file moves for ARM/Linux. 2014-05-13 10:04:20 -07:00
localplt.data Run check-localpltk/textrel/execstack over ld.so. 2014-11-06 15:48:44 -05:00
lockf64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
lxstat.c Fix whitespace in ARM files to allow move. 2014-02-08 01:52:38 +00:00
makecontext.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mmap.c arm: Assembly implementation cleanup 2015-08-05 10:41:03 -03:00
msgctl.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
oldgetrlimit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldgetrlimit64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldsetrlimit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
posix_fadvise.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
posix_fadvise64.c Fix ARM posix_fadvise64 namespace (bug 17793). 2015-01-05 16:05:34 +00:00
pread.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pread64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
profil-counter.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pwrite.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
pwrite64.c nptl: Rewrite cancellation macros 2015-06-04 18:58:36 -03:00
readahead.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
readdir64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readdir64_r.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
scandir64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
semctl.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setcontext.S Bug 18125: Call exit after last linked context. 2015-05-08 11:29:38 -04:00
setegid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
seteuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setgroups.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setregid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setresgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setresuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setreuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
shmctl.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigaction.c Convert 231 sysdeps function definitions to prototype style. 2015-10-19 12:04:33 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigrestorer.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
swapcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syscalls.list Move setfsgid/setfsuid definitions to syscalls.list (bug 14138). 2014-10-27 12:24:42 +00:00
sysdep-cancel.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysdep.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysdep.h Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
tls.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
truncate64.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ucontext_i.sym Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
umount.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
versionsort64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
vfork.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xstat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00