Commit Graph
7 Commits
Author SHA1 Message Date
MarcZX10 3d510db9fb fix(libkernel_sys): aio_suspend rejects a null list with a count
aio_suspend dereferenced the guest list for every count above zero, so a
null list crashed the host. Return EFAULT for a null list with a count
of 1 or more, after the count range check, as the copyin of the list
fails on the console.
2026-11-10 14:16:42 +00:00
roboterspinne 2dbd3cdfed Merge remote-tracking branch 'upstream/main' into fix/libkernel-sys-aio-aiocb-copy
# Conflicts:
#	docs/dev/debt/libkernel_sys.md
2026-11-02 17:33:59 +01:00
roboterspinne a59f3d947c fix(libkernel_sys): form the aiocb field addresses without a null member access 2026-11-01 19:18:22 +01:00
roboterspinne 28af4b5e97 fix(libkernel_sys): read and write the aiocb of aio_read, aio_write and aio_fsync as FreeBSD's aio_aqueue does 2026-11-01 11:35:20 +01:00
LeandroLP23andClaude Opus 5.5 adef5635c8 fix(libkernel_sys): wait for AIO timeouts until one deadline, precisely on Windows
aio_suspend and aio_waitcomplete waited through std::condition_variable,
which winpthreads ends only on 15.6 ms GetTickCount64 steps (#1471). They
also restarted the full timeout after every wake that did not finish their
wait, so completions of other requests could keep them waiting past it.
Both now compute one deadline and wait on TimedWait::Condition until it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 08:50:54 +01:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
David 478947f71f feat(libkernel_sys): implement the POSIX aio calls 2026-10-21 20:07:41 +01:00