about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-05-04 00:08:12 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-05 02:24:38 +0200
commit4571fb8fe64644c79d91a8f76c148a05b7088ea8 (patch)
tree64aba6c13a443bdbe62f8f1f3ea0ef57b93335d4 /sysdeps
parent3f433cb895dee51dee57cb487bc33b1425fa7ef6 (diff)
downloadglibc-4571fb8fe64644c79d91a8f76c148a05b7088ea8.tar.gz
glibc-4571fb8fe64644c79d91a8f76c148a05b7088ea8.tar.xz
glibc-4571fb8fe64644c79d91a8f76c148a05b7088ea8.zip
Update hurd/intr-msg.c to be more portable
Summary of the changes:
- Introduce BAD_TYPECHECK from MiG to make it simpler to do type
  checking.
- Replace int type with mach_msg_type_t. This assumes that
  mach_msg_type_t is always the same size as int which is not true for
  x86_64.
- Calculate the size and align using PTR_ALIGN_UP, which is a bit
  cleaner and similar to what we do elsewhere.
- Define mach_msg_type_t to check using designated initializers.
Message-Id: <ZFMvrIkvoCSxqB/C@jupiter.tail36e24.ts.net>
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions