Miklos Szeredi c8ffd8bcdd vfs: add faccessat2 syscall
POSIX defines faccessat() as having a fourth "flags" argument, while the
linux syscall doesn't have it.  Glibc tries to emulate AT_EACCESS and
AT_SYMLINK_NOFOLLOW, but AT_EACCESS emulation is broken.

Add a new faccessat(2) syscall with the added flags argument and implement
both flags.

The value of AT_EACCESS is defined in glibc headers to be the same as
AT_REMOVEDIR.  Use this value for the kernel interface as well, together
with the explanatory comment.

Also add AT_EMPTY_PATH support, which is not documented by POSIX, but can
be useful and is trivial to implement.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2020-05-14 16:44:25 +02:00
..
2020-05-14 16:44:25 +02:00
2019-09-08 15:19:58 +02:00
2019-08-03 08:56:57 +02:00
2019-05-10 21:00:44 +02:00
2019-05-03 23:47:38 +02:00
2019-06-08 12:56:26 +02:00
2020-01-07 13:31:21 +01:00
2019-10-10 14:55:24 -07:00
2019-09-08 15:19:58 +02:00
2020-04-05 22:57:40 +02:00
2019-05-10 21:00:45 +02:00
2017-11-17 15:27:22 +01:00