Page MenuHomeFreeBSD

Fix aio_{read,write}v() with SIGEV_THREAD.
ClosedPublic

Authored by tmunro on Aug 20 2021, 10:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 2:39 PM
Unknown Object (File)
Wed, Oct 23, 6:30 PM
Unknown Object (File)
Oct 4 2024, 3:42 PM
Unknown Object (File)
Oct 3 2024, 8:07 PM
Unknown Object (File)
Oct 1 2024, 5:31 PM
Unknown Object (File)
Oct 1 2024, 3:32 PM
Unknown Object (File)
Oct 1 2024, 1:13 PM
Unknown Object (File)
Sep 28 2024, 5:26 AM
Subscribers
None

Details

Summary

librt contains wrappers that convert SIGEV_THREAD (as required by POSIX) to SIGEV_THREAD_ID (as required by the kernel) for aio_{read,write}(). Add the same for the new vectored functions.

Test Plan

sysctl vfs.aio.enable_unsafe=1 ; cd /usr/src/test/sys/aio ; make ; make install ; cd /usr/tests/sys/aio ; kyua test. (Thanks asomers for suggesting this test).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tmunro created this revision.

Thanks for fixing this.

This revision is now accepted and ready to land.Aug 20 2021, 2:43 PM