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)
Sat, Apr 13, 5:17 AM
Unknown Object (File)
Sat, Apr 13, 5:13 AM
Unknown Object (File)
Mar 7 2024, 1:10 PM
Unknown Object (File)
Mar 6 2024, 11:28 PM
Unknown Object (File)
Feb 15 2024, 3:20 PM
Unknown Object (File)
Feb 14 2024, 6:18 AM
Unknown Object (File)
Jan 13 2024, 7:46 AM
Unknown Object (File)
Dec 24 2023, 10:52 PM
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