diff options
author | Roland McGrath <roland@gnu.org> | 2006-01-06 12:14:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-01-06 12:14:26 +0000 |
commit | d15b99ac5af661dba1303f17a01f09aae7b6f5e7 (patch) | |
tree | e91cee50ed642f2edd9309140d5751c62a5b47f9 /io/fcntl.h | |
parent | 030219826e29a214dc1b58d31fd924fb32ec761f (diff) | |
download | glibc-d15b99ac5af661dba1303f17a01f09aae7b6f5e7.tar.gz |
* io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
* posix/unistd.h [__USE_ATFILE]: Declare faccessat.
* io/faccessat.c: New file.
* sysdeps/unix/sysv/linux/faccessat.c: New file.
* io/Makefile (routines): Add faccessat.
* io/Versions (libc: GLIBC_2.4): Likewise.
* io/tst-faccessat.c: New file.
* io/Makefile (tests): Add it.
* io/sys/stat.h: Likewise.
Diffstat (limited to 'io/fcntl.h')
-rw-r--r-- | io/fcntl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io/fcntl.h b/io/fcntl.h index fd45933fc2..e50afbbfd1 100644 --- a/io/fcntl.h +++ b/io/fcntl.h @@ -63,6 +63,8 @@ __BEGIN_DECLS # define AT_SYMLINK_NOFOLLOW 0x100 /* Do not follow symbolic links. */ # define AT_REMOVEDIR 0x200 /* Remove directory instead of unlinking file. */ +# define AT_EACCESS 0x200 /* Test access permitted for + effective IDs, not real IDs. */ #endif /* Do the file control operation described by CMD on FD. |