ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390
The sys_ipc() and compat_ksys_ipc() functions are meant to only be used from the system call table, not called by another function. Introduce ksys_*() interfaces for this purpose, as we have done for many other system calls. Link: https://lore.kernel.org/lkml/20190116131527.2071570-3-arnd@arndb.de Signed-off-by:Arnd Bergmann <arnd@arndb.de> Reviewed-by:
Heiko Carstens <heiko.carstens@de.ibm.com> [heiko.carstens@de.ibm.com: compile fix for !CONFIG_COMPAT] Signed-off-by:
Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by:
Martin Schwidefsky <schwidefsky@de.ibm.com>
Showing
- arch/s390/kernel/compat_linux.c 1 addition, 1 deletionarch/s390/kernel/compat_linux.c
- arch/s390/kernel/sys_s390.c 3 additions, 1 deletionarch/s390/kernel/sys_s390.c
- include/linux/syscalls.h 4 additions, 0 deletionsinclude/linux/syscalls.h
- ipc/syscall.c 16 additions, 4 deletionsipc/syscall.c
- kernel/sys_ni.c 1 addition, 0 deletionskernel/sys_ni.c
Loading
Please register or sign in to comment