diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-03-15 05:02:26 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-03-15 05:02:26 -0800 |
| commit | 76a9bdec30f296b88c39016858c4ffd0999965f0 (patch) | |
| tree | 4c60f0f185a3df4bb4dc4f24eff7514c4df1d540 /include/linux | |
| parent | 5299b8f7c475202ef6b730414924e4b1d7ae1559 (diff) | |
[PATCH] generic 32 bit emulation for System-V IPC
From: Arnd Bergmann <arnd@arndb.de>
Adds a generic implementation of 32 bit emulation for IPC system calls. The
code is based on the existing implementations for sparc64, ia64, mips, s390,
ppc and x86_64, which can subsequently be converted to use this.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/compat.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h index 0fbfb6152d20..7b82209ab4ab 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h @@ -10,6 +10,8 @@ #include <linux/stat.h> #include <linux/param.h> /* for HZ */ +#include <linux/sem.h> + #include <asm/compat.h> #define compat_jiffies_to_clock_t(x) \ @@ -88,5 +90,15 @@ typedef union compat_sigval { compat_uptr_t sival_ptr; } compat_sigval_t; +long compat_sys_semctl(int first, int second, int third, void __user *uptr); +long compat_sys_msgsnd(int first, int second, int third, void __user *uptr); +long compat_sys_msgrcv(int first, int second, int msgtyp, int third, + int version, void __user *uptr); +long compat_sys_msgctl(int first, int second, void __user *uptr); +long compat_sys_shmat(int first, int second, compat_uptr_t third, int version, + void __user *uptr); +long compat_sys_shmctl(int first, int second, void __user *uptr); +long compat_sys_semtimedop(int semid, struct sembuf __user *tsems, + unsigned nsems, const struct compat_timespec __user *timeout); #endif /* CONFIG_COMPAT */ #endif /* _LINUX_COMPAT_H */ |
