fix sysvipc structures on powerpc
these have been wrong for a long time and were never detected or corrected. powerpc needs some gratuitous extra padding/reserved slots in ipc_perm, big-endian ordering for the padding of time_t slots that was intended by the kernel folks to allow a transition to 64-bit time_t, and some minor gratuitous reordering of struct members.
This commit is contained in:
parent
f6e2f7e13f
commit
ad66ae93d0
4 changed files with 16 additions and 20 deletions
|
|
@ -3,13 +3,14 @@
|
|||
struct shmid_ds
|
||||
{
|
||||
struct ipc_perm shm_perm;
|
||||
size_t shm_segsz;
|
||||
time_t shm_atime;
|
||||
int __unused1;
|
||||
time_t shm_dtime;
|
||||
time_t shm_atime;
|
||||
int __unused2;
|
||||
time_t shm_ctime;
|
||||
time_t shm_dtime;
|
||||
int __unused3;
|
||||
time_t shm_ctime;
|
||||
int __unused4;
|
||||
size_t shm_segsz;
|
||||
pid_t shm_cpid;
|
||||
pid_t shm_lpid;
|
||||
unsigned long shm_nattch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue