powerpc: Individual System V IPC system calls
authorSam bobroff <sam.bobroff@au1.ibm.com>
Tue, 13 Oct 2015 01:49:28 +0000 (12:49 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Oct 2015 09:31:57 +0000 (20:31 +1100)
This patch provides individual system call numbers for the following
System V IPC system calls, on PowerPC, so that they do not need to be
multiplexed:
* semop, semget, semctl, semtimedop
* msgsnd, msgrcv, msgget, msgctl
* shmat, shmdt, shmget, shmctl

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h
arch/powerpc/include/uapi/asm/unistd.h

index 126d0c4f9b7ddc9b98a90564180d24191204875a..c9e26cb264f49dfff80114ddd97e1d10460157dd 100644 (file)
@@ -370,3 +370,15 @@ COMPAT_SYS(execveat)
 PPC64ONLY(switch_endian)
 SYSCALL_SPU(userfaultfd)
 SYSCALL_SPU(membarrier)
+SYSCALL(semop)
+SYSCALL(semget)
+COMPAT_SYS(semctl)
+COMPAT_SYS(semtimedop)
+COMPAT_SYS(msgsnd)
+COMPAT_SYS(msgrcv)
+SYSCALL(msgget)
+COMPAT_SYS(msgctl)
+COMPAT_SYS(shmat)
+SYSCALL(shmdt)
+SYSCALL(shmget)
+COMPAT_SYS(shmctl)
index 13411be86041ced7c5e81921f93ec50d21c1afdc..6d8f8023ac27b1893bd4f6d329c6498b39fd949d 100644 (file)
@@ -12,7 +12,7 @@
 #include <uapi/asm/unistd.h>
 
 
-#define __NR_syscalls          366
+#define __NR_syscalls          378
 
 #define __NR__exit __NR_exit
 #define NR_syscalls    __NR_syscalls
index 6337738018aad4768c1276079ab89562d186fc70..81579e93c65991b3dcb1e129aec6474a722d86cc 100644 (file)
 #define __NR_switch_endian     363
 #define __NR_userfaultfd       364
 #define __NR_membarrier                365
+#define __NR_semop             366
+#define __NR_semget            367
+#define __NR_semctl            368
+#define __NR_semtimedop                369
+#define __NR_msgsnd            370
+#define __NR_msgrcv            371
+#define __NR_msgget            372
+#define __NR_msgctl            373
+#define __NR_shmat             374
+#define __NR_shmdt             375
+#define __NR_shmget            376
+#define __NR_shmctl            377
 
 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */