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:
Rich Felker 2014-03-11 17:01:34 -04:00
commit ad66ae93d0
4 changed files with 16 additions and 20 deletions

View file

@ -7,8 +7,9 @@ struct ipc_perm
gid_t cgid;
mode_t mode;
int __ipc_perm_seq;
long __pad1;
long __pad2;
int __pad1;
long long __pad2;
long long __pad3;
};
#define IPC_64 0x100