Files
linux/fs
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-03-27 09:29:56 +00:00
2019-11-11 09:21:59 -05:00
2020-02-13 09:16:07 +01:00
2020-04-10 15:36:22 -07:00
2020-01-14 13:28:28 -08:00
2020-05-14 16:44:24 +02:00
2020-04-21 09:51:10 -06:00
2019-08-07 21:51:47 -04:00
2020-05-14 16:44:25 +02:00
2020-02-07 14:48:35 -05:00
2020-03-06 11:06:15 +01:00
2020-05-14 16:44:25 +02:00
2020-03-05 21:00:40 -05:00
2020-03-05 21:00:40 -05:00
2020-05-14 16:44:24 +02:00
2020-05-14 16:44:24 +02:00
2020-03-12 17:33:11 -07:00
2020-05-14 16:44:25 +02:00
2020-05-14 16:44:24 +02:00
2020-03-02 14:04:31 -07:00
2019-12-08 14:37:36 +01:00
2020-05-14 16:44:24 +02:00
2020-04-28 14:37:40 -07:00
2020-05-14 16:44:24 +02:00