arch: add split IPC system calls where needed
The IPC system call handling is highly inconsistent across architectures, some use sys_ipc, some use separate calls, and some use both. We also have some architectures that require passing IPC_64 in the flags, and others that set it implicitly. For the addition of a y2038 safe semtimedop() system call, I chose to only support the separate entry points, but that requires first supporting the regular ones with their own syscall numbers. The IPC_64 is now implied by the new semctl/shmctl/msgctl system calls even on the architectures that require passing it with the ipc() multiplexer. I'm not adding the new semtimedop() or semop() on 32-bit architectures, those will get implemented using the new semtimedop_time64() version that gets added along with the other time64 calls. Three 64-bit architectures (powerpc, s390 and sparc) get semtimedop(). Signed-off-by:Arnd Bergmann <arnd@arndb.de> Acked-by:
Geert Uytterhoeven <geert@linux-m68k.org> Acked-by:
Heiko Carstens <heiko.carstens@de.ibm.com>
Showing
- arch/m68k/kernel/syscalls/syscall.tbl 11 additions, 0 deletionsarch/m68k/kernel/syscalls/syscall.tbl
- arch/mips/kernel/syscalls/syscall_o32.tbl 11 additions, 0 deletionsarch/mips/kernel/syscalls/syscall_o32.tbl
- arch/powerpc/kernel/syscalls/syscall.tbl 13 additions, 0 deletionsarch/powerpc/kernel/syscalls/syscall.tbl
- arch/s390/kernel/syscalls/syscall.tbl 12 additions, 0 deletionsarch/s390/kernel/syscalls/syscall.tbl
- arch/sh/kernel/syscalls/syscall.tbl 11 additions, 0 deletionsarch/sh/kernel/syscalls/syscall.tbl
- arch/sparc/kernel/syscalls/syscall.tbl 12 additions, 0 deletionsarch/sparc/kernel/syscalls/syscall.tbl
- arch/x86/entry/syscalls/syscall_32.tbl 11 additions, 0 deletionsarch/x86/entry/syscalls/syscall_32.tbl
- arch/x86/entry/syscalls/syscall_64.tbl 2 additions, 0 deletionsarch/x86/entry/syscalls/syscall_64.tbl
- include/uapi/asm-generic/unistd.h 1 addition, 0 deletionsinclude/uapi/asm-generic/unistd.h
Please register or sign in to comment