NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/59240: POSIX.1-2024: cancellation point audit
>Number: 59240
>Category: lib
>Synopsis: POSIX.1-2024: cancellation point audit
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 31 02:50:00 +0000 2025
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetPthread.2024-1 Cancellation
>Environment:
>Description:
We are missing various cancellation points and automatic tests for them:
https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/functions/V2_chap02.html#tag_16_09_05_02
>How-To-Repeat:
code inspection
cancellation
>Fix:
Yes, please!
Mandatory cancellation points:
[ ] accept()
[ ] accept4()
[ ] aio_suspend()
[ ] clock_nanosleep()
[ ] close()
[ ] cnd_timedwait()
[ ] cnd_wait()
[ ] connect()
[ ] creat()
[ ] fcntl() with F_SETLKW or F_OFD_SETLKW
[ ] fdatasync()
[ ] fsync()
[ ] lockf() with F_LOCK
[ ] mq_receive()
[ ] mq_send()
[ ] mq_timedreceive()
[ ] mq_timedsend()
[ ] msgrcv()
[ ] msgsnd()
[ ] msync()
[ ] nanosleep()
[ ] open()
[ ] openat()
[ ] pause()
[ ] poll()
[ ] posix_close()
[ ] ppoll()
[ ] pread()
[ ] pselect()
[ ] pthread_cond_clockwait()
[ ] pthread_cond_timedwait()
[ ] pthread_cond_wait()
[ ] pthread_join()
[ ] pthread_testcancel()
[ ] pwrite()
[ ] read()
[ ] readv()
[ ] recv()
[ ] recvfrom()
[ ] recvmsg()
[ ] select()
[ ] send()
[ ] sendmsg()
[ ] sendto()
[ ] sigsuspend()
[ ] sigtimedwait()
[ ] sigwait()
[ ] sigwaitinfo()
[ ] sleep()
[ ] tcdrain()
[ ] thrd_join()
[ ] thrd_sleep()
[ ] wait()
[ ] waitid()
[ ] waitpid()
[ ] write()
[ ] writev()
Home |
Main Index |
Thread Index |
Old Index