diff options
| author | Miklos Szeredi <[email protected]> | 2020-05-14 14:44:25 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2020-05-14 14:44:25 +0000 |
| commit | c8ffd8bcdd28296a198f237cc595148a8d4adfbe (patch) | |
| tree | 71ce857ad8d9feea14cfe9619013e84a88bb374c /fs/jbd2/commit.c | |
| parent | vfs: don't parse "silent" option (diff) | |
| download | kernel-c8ffd8bcdd28296a198f237cc595148a8d4adfbe.tar.gz kernel-c8ffd8bcdd28296a198f237cc595148a8d4adfbe.zip | |
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 <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
