1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-09 14:21:14 +03:00
Files
glibc/sysdeps/unix/sysv/linux/tst-sysvshm-linux.c
Adhemerval Zanella 602da9de69 sysvipc: Fix tst-sysvshm-linux on x32
The Linux shminfo fields are '__syscall_ulong_t' (which is 64-bit
for x32).  This patch fixes the test to compare againt the correct
type and to only clamp the value if '__syscall_ulong_t' is the same
size of 'unsigned long int'.

Checked on x86_64-linux-gnu-x32.
2020-10-15 15:50:25 -03:00

5.1 KiB