aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/pselect.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-07-12 11:11:05 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-27 14:46:53 +0100
commit6de52d57a1dd1f85ccd9bdbb3c5231e36dd00a99 (patch)
treeff7f0a3c4cad88c36865b7d57dd7ed4493e7892d /sysdeps/unix/sysv/linux/pselect.c
parentdb3c584cbf398c47fe3c9e9428bc6512cb4a2f23 (diff)
downloadglibc-6de52d57a1dd1f85ccd9bdbb3c5231e36dd00a99.tar
glibc-6de52d57a1dd1f85ccd9bdbb3c5231e36dd00a99.tar.gz
glibc-6de52d57a1dd1f85ccd9bdbb3c5231e36dd00a99.tar.bz2
glibc-6de52d57a1dd1f85ccd9bdbb3c5231e36dd00a99.zip
cheri: fix pointer tagging in tsearch
USE_MALLOC_LOW_BIT should work for capabilities too, but we need to ensure that pointer provenance is right: the red/black flag is computed as uintptr_t, but with uintptr_t | uintptr_t it's not clear which side provides the provenance. So use unsigned int type for the flag (which is the type used in case of !USE_MALLOC_LOW_BIT anyway), then unsigned int | uintptr_t works. The type of RED is corrected too to match unsigned int.
Diffstat (limited to 'sysdeps/unix/sysv/linux/pselect.c')
0 files changed, 0 insertions, 0 deletions