Ulrich Drepper 26cec518ac * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
fchownat, and unlinkat.
	(static-only-routines): Add fstatat and fstatat64.
	(tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat,
	and tst-fchownat.
	* io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64,
	and unlinkat.
	* io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR.
	* io/fstatat.c: New file.
	* io/fstatat64.c: New file.
	* io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64
	and define fstatat and fstatat64 inline functions.
	* libio/stdio.h: Declare renameat.
	* misc/Makefile (routines): Add futimesat.
	* misc/Versions [GLIBC_2.4]: Add futimesat.
	* posix/unistd.h: Declare fchownat and unlinkat.
	* stdio-common/Makefile (routines): Add renameat.
	* stdio-common/Versions [GLIBC_2.4]: Add renameat.
	* sysdeps/generic/fchownat.c: New file.
	* sysdeps/generic/futimesat.c: New file.
	* sysdeps/generic/fxstatat.c: New file.
	* sysdeps/generic/fxstatat64.c: New file.
	* sysdeps/generic/renameat.c: New file.
	* sysdeps/generic/unlinkat.c: New file.
	* sysdeps/unix/sysv/linux/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/futimesat.c: New file.
	* sysdeps/unix/sysv/linux/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/fxstatat64.c: New file.
	* sysdeps/unix/sysv/linux/renameat.c: New file.
	* sysdeps/unix/sysv/linux/unlinkat.c: New file.
	* sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/i386/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/i386/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/m68k/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/sh/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/sh/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file.
	* sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file.
	* time/sys/time.h: Declare futimesat.
	* include/fcntl.h: Declare __atfct_seterrno.
	* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function.
	Split out from openat code and called.
	(do_test): Allow openat to fail with ENOSYS.  Handle AT_FDCWD.
	* sysdeps/generic/openat.c: Handle AT_FDCWD.
	* sysdeps/generic/openat64.c: Likewise.
	* io/tst-unlinkat.c: New file.
	* io/tst-fstatat.c: New file.
	* io/tst-futimesat.c: New file.
	* io/tst-renameat.c: New file.
	* io/tst-fchownat.c: New file.
	* io/tst-openat.c: Don't fail if openat is not implemented.

	* sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward
	compatibility code if new kernel is guaranteed.

	* time/sys/time.h: Add a few nonnull attributes.
2005-11-11 20:02:07 +00:00
..
2005-05-26 14:30:51 +00:00
2005-10-14 13:42:37 +00:00
2005-09-16 13:12:49 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2004-08-06 18:32:16 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2005-06-14 00:56:49 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2005-10-14 17:20:58 +00:00
2003-09-03 03:22:23 +00:00
2003-07-25 09:06:04 +00:00
2002-12-31 20:46:11 +00:00
2007-07-12 18:26:36 +00:00
2002-05-15 00:22:23 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2001-07-31 20:32:01 +00:00
2002-12-15 10:26:23 +00:00
2007-07-12 18:26:36 +00:00
2002-06-09 20:15:14 +00:00
2004-03-05 10:29:47 +00:00
2004-07-06 04:26:42 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2005-04-28 22:31:00 +00:00
2001-07-06 04:58:11 +00:00
2003-09-03 03:22:23 +00:00
2002-09-15 02:37:32 +00:00
2003-04-19 16:57:17 +00:00
2004-07-16 18:11:48 +00:00
2001-07-06 04:58:11 +00:00
2002-12-06 23:38:01 +00:00
2003-08-08 07:43:03 +00:00
2003-06-24 18:59:03 +00:00
2007-07-12 18:26:36 +00:00
2003-09-17 00:49:19 +00:00
2007-07-12 18:26:36 +00:00
2005-01-07 04:56:33 +00:00
2007-07-12 18:26:36 +00:00
2003-06-28 08:11:28 +00:00
2007-07-12 18:26:36 +00:00
2004-03-05 10:29:47 +00:00
2007-07-12 18:26:36 +00:00
2000-08-17 19:36:13 +00:00
2007-07-12 18:26:36 +00:00
2000-08-12 05:14:52 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2004-08-06 09:25:59 +00:00
2007-07-12 18:26:36 +00:00
2004-03-05 10:29:47 +00:00
2003-09-03 03:22:23 +00:00
2001-07-06 04:58:11 +00:00
2002-05-15 00:22:23 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2002-07-20 01:14:41 +00:00
2005-06-14 00:56:49 +00:00
2005-06-14 00:56:49 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-04-03 07:50:20 +00:00
2007-07-12 18:26:36 +00:00
2003-09-03 03:22:23 +00:00
2001-07-06 04:58:11 +00:00
2005-09-20 07:46:34 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2002-05-15 00:22:23 +00:00
2003-09-03 03:22:23 +00:00
2007-07-12 18:26:36 +00:00
2003-06-28 08:11:28 +00:00
2003-09-24 21:13:55 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2002-12-15 10:26:23 +00:00
2005-06-14 00:56:49 +00:00
2002-03-02 00:48:30 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2002-07-25 08:19:59 +00:00
2002-12-15 10:26:23 +00:00
2007-07-12 18:26:36 +00:00
2003-09-04 14:42:25 +00:00
2003-06-11 23:22:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-03-10 19:28:58 +00:00
2003-08-17 00:37:19 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2003-01-16 18:14:10 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-01-20 23:25:27 +00:00
2005-05-26 14:30:51 +00:00
2005-05-26 14:30:51 +00:00
2003-09-03 03:22:23 +00:00
2003-09-03 03:22:23 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-04-14 20:15:40 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2003-05-01 21:41:01 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2002-12-15 10:26:23 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2004-08-07 18:22:26 +00:00
2002-05-15 00:22:23 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2003-04-01 06:20:33 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2004-04-03 07:50:20 +00:00
2007-07-12 18:26:36 +00:00
2003-09-17 00:49:19 +00:00
2005-10-14 13:42:37 +00:00
2007-07-12 18:26:36 +00:00
2005-01-24 22:57:26 +00:00
2002-12-15 10:26:23 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2001-09-25 03:04:41 +00:00
2001-07-06 04:58:11 +00:00
2007-07-12 18:26:36 +00:00
2003-06-15 21:22:26 +00:00
2003-09-27 17:02:41 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2007-07-12 18:26:36 +00:00
2003-06-16 19:39:00 +00:00
2004-10-30 18:04:21 +00:00
2003-05-13 23:57:02 +00:00
2003-09-03 03:22:23 +00:00
2003-09-27 17:02:41 +00:00
2007-07-12 18:26:36 +00:00
2003-06-28 08:11:28 +00:00
2003-06-16 17:18:06 +00:00
2007-07-12 18:26:36 +00:00