IA-32 emulation patch: ipc_perm32.patch
In the absence of the patch, this system call fails:
shmctl(shmid, IPC_STAT, &shmid_ds)
The patch corrects the definition of the ipc_perm32 structure.
-Arun
=== linux-ia64-2.4/arch/ia64/ia32/sys_ia32.c 1.16 vs edited ==--- 1.16/arch/ia64/ia32/sys_ia32.c Fri Apr 18 10:55:20 2003
+++ edited/linux-ia64-2.4/arch/ia64/ia32/sys_ia32.c Thu May 22 17:59:55 2003
@@ -2085,7 +2085,7 @@
};
struct shmid64_ds32 {
- struct ipc64_perm shm_perm;
+ struct ipc64_perm32 shm_perm;
__kernel_size_t32 shm_segsz;
__kernel_time_t32 shm_atime;
unsigned int __unused1;
Quoted 5 lines · Arun Sharma
In the absence of the patch, this system call fails:
shmctl(shmid, IPC_STAT, &shmid_ds)The patch corrects the definition of the
ipc_perm32structure.
I applied this for 2.4.