diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-15 15:45:26 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-15 15:50:25 -0300 |
commit | 602da9de696099f543ee2bb3c1520bc178f42fc9 (patch) | |
tree | 2e57ef762a69c29861ce481cdc1853e330a4c13e /rt/tst-shm-cancel.c | |
parent | c02695d776406faaf63418e4e80c4a7023af0b4f (diff) | |
download | glibc-602da9de696099f543ee2bb3c1520bc178f42fc9.tar.gz glibc-602da9de696099f543ee2bb3c1520bc178f42fc9.tar.xz glibc-602da9de696099f543ee2bb3c1520bc178f42fc9.zip |
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.
Diffstat (limited to 'rt/tst-shm-cancel.c')
0 files changed, 0 insertions, 0 deletions