Thread (65 messages) 65 messages, 7 authors, 2015-12-05

[PATCH v6 15/19] arm64: ilp32: force IPC_64 in msgctl, shmctl, semctl

From: arnd@arndb.de (Arnd Bergmann)
Date: 2015-11-17 22:08:16
Also in: lkml

On Wednesday 18 November 2015 00:16:55 Yury Norov wrote:
+/* IPC_64 */
+asmlinkage long ilp32_sys_msgctl(int first, int second, void __user *uptr)
+{
+       return compat_sys_msgctl(first, second | IPC_64, uptr);
+}
+#define compat_sys_msgctl              ilp32_sys_msgctl
+
+asmlinkage long ilp32_sys_shmctl(int first, int second, void __user *uptr)
+{
+       return compat_sys_shmctl(first, second | IPC_64, uptr);
+}
+#define compat_sys_shmctl              ilp32_sys_shmctl
+
+asmlinkage long ilp32_sys_semctl(int first, int second, int third, int arg)
+{
+       return compat_sys_semctl(first, second, third | IPC_64, arg);
+}
+#define compat_sys_semctl      ilp32_sys_semctl
I wonder if this would be any simpler by changing compat_ipc_parse_version()

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help