linux/arch/sh/kernel
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
..
cpu Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2020-01-28 10:07:09 -08:00
syscalls vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
vsyscall .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
asm-offsets.c
crash_dump.c
debugtraps.S
disassemble.c sh: kernel: disassemble: Mark expected switch fall-throughs 2019-08-11 16:15:16 -05:00
dma-coherent.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
dumpstack.c
dwarf.c
entry-common.S sched/rt, sh: Use CONFIG_PREEMPTION 2019-12-08 14:37:35 +01:00
ftrace.c
head_32.S
head_64.S
hw_breakpoint.c sh: kernel: hw_breakpoint: Fix missing break in switch statement 2019-08-11 16:15:16 -05:00
idle.c
io.c
io_trapped.c sh: Use pr_warn instead of pr_warning 2019-10-18 13:52:05 +02:00
iomap.c
ioport.c
irq.c
irq_32.c
irq_64.c
kdebugfs.c sh: no need to check return value of debugfs_create functions 2019-06-03 15:39:40 +02:00
kgdb.c sh: kgdb: Mark expected switch fall-throughs 2019-12-10 16:11:42 -06:00
kprobes.c arch/sh: Check for kprobe trap number before trying to handle a kprobe trap 2019-06-26 19:11:13 +09:00
machine_kexec.c memblock: drop __memblock_alloc_base() 2019-03-12 10:04:01 -07:00
machvec.c
Makefile
module.c
nmi_debug.c
perf_callchain.c
perf_event.c
process.c
process_32.c
process_64.c
ptrace.c
ptrace_32.c
ptrace_64.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
reboot.c
relocate_kernel.S
return_address.c
setup.c arch/sh/setup: Drop dummy_con initialization 2020-01-14 15:29:18 +01:00
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
signal_64.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
smp.c
stacktrace.c sh/stacktrace: Remove the pointless ULONG_MAX marker 2019-04-14 19:58:28 +02:00
swsusp.c
sys_sh.c
sys_sh32.c
syscalls_32.S sh: remove nargs from __SYSCALL 2019-03-05 21:07:13 -08:00
syscalls_64.S
time.c sh: add the sh_ prefix to early platform symbols 2019-10-07 13:50:48 +02:00
topology.c
traps.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
traps_32.c signal: Remove the task parameter from force_sig_fault 2019-05-29 09:31:43 -05:00
traps_64.c signal: Remove task parameter from force_sig 2019-05-27 09:36:28 -05:00
unwinder.c
vmlinux.lds.S vmlinux.lds.h: Replace RW_DATA_SECTION with RW_DATA 2019-11-04 15:57:41 +01:00