linux/init
Dominik Brodowski 0101db7a30 fs: add do_mkdirat() helper and ksys_mkdir() wrapper; remove in-kernel calls to syscall
Using the fs-internal do_mkdirat() helper allows us to get rid of
fs-internal calls to the sys_mkdirat() syscall.

Introducing the ksys_mkdir() wrapper allows us to avoid the in-kernel calls
to the sys_mkdir() syscall. The ksys_ prefix denotes that this function is
meant as a drop-in replacement for the syscall. In particular, it uses the
same calling convention as sys_mkdir().

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2018-04-02 20:15:54 +02:00
..
calibrate.c
do_mounts_initrd.c fs: add do_mkdirat() helper and ksys_mkdir() wrapper; remove in-kernel calls to syscall 2018-04-02 20:15:54 +02:00
do_mounts_md.c
do_mounts_rd.c fs: add ksys_unlink() wrapper; remove in-kernel calls to sys_unlink() 2018-04-02 20:15:52 +02:00
do_mounts.c fs: add ksys_chdir() helper; remove in-kernel calls to sys_chdir() 2018-04-02 20:15:51 +02:00
do_mounts.h fs: add ksys_unlink() wrapper; remove in-kernel calls to sys_unlink() 2018-04-02 20:15:52 +02:00
init_task.c Expand the INIT_SIGNALS and INIT_SIGHAND macros and remove 2018-01-17 11:30:16 +00:00
initramfs.c fs: add do_mkdirat() helper and ksys_mkdir() wrapper; remove in-kernel calls to syscall 2018-04-02 20:15:54 +02:00
Kconfig membarrier: Provide core serializing command, *_SYNC_CORE 2018-02-05 21:35:03 +01:00
main.c fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}() 2018-04-02 20:15:49 +02:00
Makefile Construct init thread stack in the linker script rather than by union 2018-01-09 23:21:02 +00:00
noinitramfs.c fs: add do_mkdirat() helper and ksys_mkdir() wrapper; remove in-kernel calls to syscall 2018-04-02 20:15:54 +02:00
version.c