summaryrefslogtreecommitdiff
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-11 22:55:45 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-11 22:55:45 -0700
commit87c22e8470366e81aa82bcbadaf147c4ecdfb182 (patch)
tree0c1e56a6b0f73b476f0c5ceeca9512a5c206a04b /kernel/sys.c
parent34b98f223bb21673f4cab2f5079a763c34a67946 (diff)
[PATCH] compat emulation for posix message queues
From: Arnd Bergmann <arnd@arndb.de> I have tested the code with the open posix test suite and found the same four failures for both 64-bit and compat mode, most tests pass. The patch is against -mc1, but I guess it also applies to the other trees around. What worries me more than mq_attr compatibility is the conversion of struct sigevent, which might turn out really hard when more fields in there are used. AFAICS, the only other part in the kernel ABI is sys_timer_create(), so maybe it's not too late to deprecate the current structure and create a structure that can be used properly for compat syscalls.
Diffstat (limited to 'kernel/sys.c')
-rw-r--r--kernel/sys.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index 7d1bf5c57aca..81f9e02f2071 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -266,6 +266,11 @@ cond_syscall(sys_mq_timedsend)
cond_syscall(sys_mq_timedreceive)
cond_syscall(sys_mq_notify)
cond_syscall(sys_mq_getsetattr)
+cond_syscall(compat_sys_mq_open)
+cond_syscall(compat_sys_mq_timedsend)
+cond_syscall(compat_sys_mq_timedreceive)
+cond_syscall(compat_sys_mq_notify)
+cond_syscall(compat_sys_mq_getsetattr)
/* arch-specific weak syscall entries */
cond_syscall(sys_pciconfig_read)