about summary refs log tree commit diff
path: root/debug/noophooks.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-27 20:37:45 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-09-05 10:47:34 -0300
commitcd84e30c047049c2d7cd425384afc3a860977eec (patch)
tree83cb9c363d9a5198600e53a0c6616f03b04a1872 /debug/noophooks.c
parent29eb7961197bee68470730aecfdda4d0e206812e (diff)
downloadglibc-cd84e30c047049c2d7cd425384afc3a860977eec.tar.gz
glibc-cd84e30c047049c2d7cd425384afc3a860977eec.tar.xz
glibc-cd84e30c047049c2d7cd425384afc3a860977eec.zip
debug: test for more required cacellation points (BZ# 29274)
Generalize the test for cancellation point in __read_chk to also test
the other fortified functions with required cancellation points.

Since there is not easy way to force some syscalls to block (for
instance pread) the test tests two modes: cancellation on blocked
syscalls and early cancellation on pending request.

Checked on x86_64-linux-gnu and aarch64-linux-gnu.

Co-authored-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'debug/noophooks.c')
0 files changed, 0 insertions, 0 deletions