hurd 64bit: Fix struct msqid_ds and shmid_ds fields
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 May 2023 12:51:22 +0000 (14:51 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 May 2023 13:07:51 +0000 (15:07 +0200)
commite2b3d7f4853124746178148cf3f2af4e9c23f73d
treebc7ed2a890769ffb6dcf2127a45cc48fa9e3e11a
parente3a3616dbf620fa9f260a4c1a779efbb15b4a506
hurd 64bit: Fix struct msqid_ds and shmid_ds fields

The standards want msg_lspid/msg_lrpid/shm_cpid/shm_lpid to be pid_t, see BZ
23083 and 23085.

We can leave them __rpc_pid_t on i386 for ABI compatibility, but avoid
hitting the issue on 64bit.
sysdeps/gnu/Makefile
sysdeps/gnu/bits/msq.h
sysdeps/gnu/bits/shm.h
sysdeps/gnu/bits/types/struct_msqid_ds.h [new file with mode: 0644]
sysdeps/gnu/bits/types/struct_shmid_ds.h [new file with mode: 0644]
sysdeps/mach/hurd/i386/bits/types/struct_msqid_ds.h [new file with mode: 0644]
sysdeps/mach/hurd/i386/bits/types/struct_shmid_ds.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/Makefile