Home | History | Annotate | Download | only in libpthread
History log of /src/tests/lib/libpthread/t_compat_cancel.c
RevisionDateAuthorComments
 1.3  25-Apr-2025  riastradh branches: 1.3.4;
t_compat_cancel: Use -1 rather than SIGALRM for expected signal.

On kernels without (e.g.) COMPAT_13, we get SIGSYS rather than
SIGALRM if the cancellation point doesn't cancel the syscall.

Won't help if we try to interrupt in-progress waits, but currently
none of the tests do that; we'll burn that bridge when we come to it,

PR lib/59240: POSIX.1-2024: cancellation point audit
PR lib/59247: pthread_cancelstub.c is inadequately tested
 1.2  11-Apr-2025  riastradh t_compat_cancel: Fix compat numbers to match reality.

- msync is as it existed in 1.2, and is implemented by compat12;
__msync13 was new in 1.3.

- sigsuspend is as it existed in 1.3, and is implemented by compat13;
__sigsuspend14 was new in 1.4.

(But, while select is as it existed in 5.0, and is implemented by
compat50, __select50 was new in _6.0_, not in 5.0.)

No functional change intended other than to rename the test cases for
clarity.

PR lib/59240: POSIX.1-2024: cancellation point audit
PR lib/59247: pthread_cancelstub.c is inadequately tested
 1.1  05-Apr-2025  riastradh Add tests for compat functions as cancellation points.

While here, test kevent too.

PR lib/59240: POSIX.1-2024: cancellation point audit
PR lib/59247: pthread_cancelstub.c is inadequately tested
 1.3.4.2  02-Aug-2025  perseant Sync with HEAD
 1.3.4.1  25-Apr-2025  perseant file t_compat_cancel.c was added on branch perseant-exfatfs on 2025-08-02 05:58:09 +0000

RSS XML Feed