No description
Find a file
Dominik Brodowski c7248321a3 fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}()
Using ksys_dup() and ksys_dup3() as helper functions allows us to
avoid the in-kernel calls to the sys_dup() and sys_dup3() syscalls.
The ksys_ prefix denotes that these functions are meant as a drop-in
replacement for the syscalls. In particular, they use the same
calling convention as sys_dup{,3}().

In the near future, the fs-external callers of ksys_dup{,3}() should be
converted to call do_dup2() directly. Then, ksys_dup{,3}() can be moved
within sys_dup{,3}() again.

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: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2018-04-02 20:15:49 +02:00
arch fs/quota: use COMPAT_SYSCALL_DEFINE for sys32_quotactl() 2018-04-02 20:15:47 +02:00
block
certs
crypto
Documentation syscalls: define and explain goal to not call syscalls in the kernel 2018-03-25 18:08:51 +02:00
drivers fs: add ksys_mount() helper; remove in-kernel calls to sys_mount() 2018-04-02 20:15:48 +02:00
firmware
fs fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}() 2018-04-02 20:15:49 +02:00
include fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}() 2018-04-02 20:15:49 +02:00
init fs: add ksys_dup{,3}() helper; remove in-kernel calls to sys_dup{,3}() 2018-04-02 20:15:49 +02:00
ipc ipc: add msgsnd syscall/compat_syscall wrappers 2018-04-02 20:15:28 +02:00
kernel fs/quota: use COMPAT_SYSCALL_DEFINE for sys32_quotactl() 2018-04-02 20:15:47 +02:00
lib
LICENSES
mm mm: add kernel_[sg]et_mempolicy() helpers; remove in-kernel calls to syscalls 2018-04-02 20:15:34 +02:00
net net: socket: add __compat_sys_...msg() helpers; remove in-kernel calls to compat syscalls 2018-04-02 20:15:20 +02:00
samples
scripts
security
sound
tools
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 4.16-rc5 2018-03-11 17:25:09 -07:00
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.