Re: (Re-Send) shmctl() returns corrupt value on pb1000.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> On Mon, 03 Jun 2002 19:09:18 +0900, Takeshi AIHANA <takeshi_aihana@montavista.co.jp> said:
takeshi_aihana> There are any differences 'struct shmid_ds' between
takeshi_aihana> glibc-2.2.3 and 2.2.4 that I saw.  However, I do not
takeshi_aihana> think those diffs are caused this problem.  Because
takeshi_aihana> the 'shm_segsz` which a member of this will be
takeshi_aihana> allocated on same location even if the follows members
takeshi_aihana> behind 'shm_segsz' are changed; i.e. it will have same
takeshi_aihana> value as 'shm_segsz' on both different structure.  Is
takeshi_aihana> this right?

Did you check the contents of 'shm_perm'?  The type of shm_perm is
'struct ipc64_perm' in kernel and 'struct ipc_perm' in libc.  I
suppose these definitions are differ.

---
Atsushi Nemoto

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux