linux/ipc
Dominik Brodowski e340db5648 ipc: add msgctl syscall/compat_syscall wrappers
Provide ksys_msgctl() and compat_ksys_msgctl() wrappers to avoid in-kernel
calls to these 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_msgctl() and compat_sys_msgctl().

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:26 +02:00
..
compat.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ipc_sysctl.c ipc/msg: increase MSGMNI, remove scaling 2014-12-13 12:42:52 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mq_sysctl.c ipc: convert use of typedef ctl_table to struct ctl_table 2014-06-06 16:08:16 -07:00
mqueue.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
msg.c ipc: add msgctl syscall/compat_syscall wrappers 2018-04-02 20:15:26 +02:00
msgutil.c ipc: convert ipc_namespace.count from atomic_t to refcount_t 2017-09-08 18:26:51 -07:00
namespace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sem.c ipc: add semctl syscall/compat_syscall wrappers 2018-04-02 20:15:22 +02:00
shm.c ipc: add shmctl syscall/compat_syscall wrappers 2018-04-02 20:15:25 +02:00
syscall.c ipc: add msgctl syscall/compat_syscall wrappers 2018-04-02 20:15:26 +02:00
util.c ipc: fix ipc data structures inconsistency 2018-02-06 18:32:46 -08:00
util.h ipc: add msgctl syscall/compat_syscall wrappers 2018-04-02 20:15:26 +02:00