linux/arch
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
..
alpha vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
arc arch: split MODULE_ARCH_VERMAGIC definitions out to <asm/vermagic.h> 2020-04-23 10:50:26 +09:00
arm vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
arm64 vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
c6x mm/vma: define a default value for VM_DATA_DEFAULT_FLAGS 2020-04-10 15:36:21 -07:00
csky mm/special: create generic fallbacks for pte_special() and pte_mkspecial() 2020-04-10 15:36:21 -07:00
h8300 h8300: ignore vmlinux.lds 2020-04-23 16:41:26 +09:00
hexagon arch: split MODULE_ARCH_VERMAGIC definitions out to <asm/vermagic.h> 2020-04-23 10:50:26 +09:00
ia64 vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
m68k vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
microblaze vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
mips vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
nds32 arch: split MODULE_ARCH_VERMAGIC definitions out to <asm/vermagic.h> 2020-04-23 10:50:26 +09:00
nios2 nios2 update for v5.7-rc1 2020-04-11 11:38:44 -07:00
openrisc mm/special: create generic fallbacks for pte_special() and pte_mkspecial() 2020-04-10 15:36:21 -07:00
parisc vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
powerpc vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
riscv RISC-V Fixes for 5.7-rc4 2020-04-29 09:25:32 -07:00
s390 vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
sh vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
sparc vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
um um: ensure make ARCH=um mrproper removes arch/$(SUBARCH)/include/generated/ 2020-04-23 10:50:26 +09:00
unicore32 mm/special: create generic fallbacks for pte_special() and pte_mkspecial() 2020-04-10 15:36:21 -07:00
x86 vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
xtensa vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00