glibc/misc
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
..
bits Fortification definitions for syslog functions. 2005-07-30 05:56:45 +00:00
sys [BZ #1458] 2005-10-14 13:42:37 +00:00
.cvsignore
ar.h
daemon.c Update. 2004-09-25 06:49:33 +00:00
dirname.c
efgcvt_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
efgcvt.c 2.5-18.1 2007-07-12 18:26:36 +00:00
err.c
err.h Update. 2003-09-12 22:37:19 +00:00
error.c 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de> 2005-07-28 21:42:37 +00:00
error.h 2.5-18.1 2007-07-12 18:26:36 +00:00
fstab.c
fstab.h Update. 2003-09-04 08:27:37 +00:00
getpass.c * include/stdio.h (__fxprintf): Remove wfmt argument. 2005-07-20 17:51:14 +00:00
getttyent.c Update. 2004-09-14 04:41:35 +00:00
getusershell.c 2.5-18.1 2007-07-12 18:26:36 +00:00
hsearch_r.c * misc/hsearch_r.c (hsearch_r): Remove duplicate test. 2005-10-30 19:06:52 +00:00
hsearch.c
init-misc.c
insremque.c 2.5-18.1 2007-07-12 18:26:36 +00:00
libgen.h
lsearch.c
Makefile * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00
mkdtemp.c
mkstemp64.c
mkstemp.c
mktemp.c
mntent_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mntent.c
mntent.h Update. 2003-09-04 08:27:37 +00:00
qefgcvt_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
qefgcvt.c Update. 2004-05-03 21:40:12 +00:00
regexp.c
regexp.h Update. 2004-05-19 16:52:55 +00:00
search.h
sgtty.h
stab.h
syscall.h
sysexits.h
syslog.h
tsearch.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tst-dirname.c
tst-efgcvt.c Test for stack alignment. 2004-12-22 20:09:42 +00:00
tst-error1.c * stdio-common/Makefile (aux): Add fxprintf. 2005-07-19 23:46:55 +00:00
tst-fdset.c
tst-hsearch.c
tst-mntent.c (main): Use tmpfile instead of tmpnam. 2004-03-22 10:50:50 +00:00
tst-tsearch.c Update. 2003-09-17 18:23:49 +00:00
ttyent.h
ttyslot.c
ustat.h
Versions * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00