diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 14:40:12 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 15:05:09 +0200 |
| commit | e3a3616dbf620fa9f260a4c1a779efbb15b4a506 (patch) | |
| tree | c9c1ac3316eedbf765df9414b4e1398f3fbe600c /sysdeps/gnu/Makefile | |
| parent | d5e2f9eaf7384ebf8f09831eb9fa15dad2ecf2c3 (diff) | |
| download | glibc-e3a3616dbf620fa9f260a4c1a779efbb15b4a506.tar.xz glibc-e3a3616dbf620fa9f260a4c1a779efbb15b4a506.zip | |
hurd 64bit: Fix ipc_perm fields types
The standards want uid/cuid to be uid_t, gid/cgid to be gid_t and mode to be
mode_t, see BZ 23082.
We can leave them short ints on i386 for ABI compatibility, but avoid
hitting the issue on 64bit.
bits/ipc.h ends up being exactly the same in sysdeps/gnu/ and
sysdeps/unix/sysv/linux/, so remove the latter.
Diffstat (limited to 'sysdeps/gnu/Makefile')
| -rw-r--r-- | sysdeps/gnu/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile index e3ba3d0ff5..4798ff692b 100644 --- a/sysdeps/gnu/Makefile +++ b/sysdeps/gnu/Makefile @@ -44,3 +44,7 @@ librt-sysdep_routines += rt-unwind-resume librt-shared-only-routines += rt-unwind-resume CFLAGS-rt-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables endif + +ifeq ($(subdir),sysvipc) +sysdep_headers += bits/ipc-perm.h +endif |
