https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220459
Bug ID: 220459
Summary: lio_listio(2) doesn't support SIGEV_THREAD
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
lio_listio(2) returns EINVAL when its sig->sigev_notify is SIGEV_THREAD. That
error gets returned from kern_lio_listio. The lio_listio(2) man page makes no
mention of this limitation. In fact, it says that SIGEV_THREAD _is_ supported.
For other aio(4) functions, SIGEV_THREAD is handled in librt and implemented
using SIGEV_THREAD_ID, which is what the kernel actually sees. But lio_listio
doesn't go through librt. Instead, it's a direct syscall.
Either the man page should be updated, or lio_listio should gain a librt
wrapper just like aio_read(2) and friends.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"