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, Feb 1, 2:02 PM
Unknown Object (File)
Fri, Jan 24, 7:11 PM
Unknown Object (File)
Sat, Jan 18, 9:18 PM
Unknown Object (File)
Fri, Jan 17, 5:42 PM
Unknown Object (File)
Dec 20 2024, 12:16 AM
Unknown Object (File)
Dec 13 2024, 5:51 AM
Unknown Object (File)
Nov 21 2024, 7:41 AM
Unknown Object (File)
Nov 17 2024, 2:16 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