kern/60438: aio doesn't work under compat32

"[email protected] via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
>Number:         60438
>Category:       kern
>Synopsis:       aio doesn't work under compat32
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 10 15:10:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, 9, ...
>Organization:
Acme Asynchronous I/O Compatibility, Inc.
>Environment:
>Description:

	The aio syscalls fail with SIGSYS:

t_aio_cancel (2/90): 3 test cases
    cancel_active_write: [0.514159s] Failed: Test program received signal 12 (core dumped)
    cancel_completed_request: [0.321425s] Failed: Test program received signal 12 (core dumped)
    cancel_invalid_fd: [0.363389s] Failed: Test program received signal 12 (core dumped)
[1.200289s]

t_aio_lio (3/90): 2 test cases
    lio_nowait: [0.324488s] Failed: Test program received signal 12 (core dumped)
    lio_wait_write_then_read: [0.366541s] Failed: Test program received signal 12 (core dumped)
[0.691891s]

>How-To-Repeat:

	cd /usr/tests/lib/libc/sys && atf-run t_*aio*

>Fix:

	Yes, please!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.