diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-03-11 11:34:25 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-03-25 18:08:51 +0200 |
commit | 819671ff849b07b9831b91de879ddc5da4b333d4 (patch) | |
tree | 0d2e9bb2765af669be7e29f00fe48b30261cdbc3 /fs/mount.h | |
parent | Linux 4.16-rc5 (diff) | |
download | linux-819671ff849b07b9831b91de879ddc5da4b333d4.tar.xz linux-819671ff849b07b9831b91de879ddc5da4b333d4.zip |
syscalls: define and explain goal to not call syscalls in the kernel
The syscall entry points to the kernel defined by SYSCALL_DEFINEx()
and COMPAT_SYSCALL_DEFINEx() should only be called from userspace
through kernel entry points, but not from the kernel itself. This
will allow cleanups and optimizations to the entry paths *and* to
the parts of the kernel code which currently need to pretend to be
userspace in order to make use of syscalls.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions