Repository navigation
feat(syscall): Wave 11 — final 31 P3 syscalls (386/386 = 100% Linux x86-64 parity) - #216
Merged
Merged
Conversation
YUZHEthefool
commented
Dec 3, 2026
YUZHEthefool
left a comment
Member
Author
There was a problem hiding this comment.
Changes requested on e4ad3a0. I inspected syscall dispatch, AIO context lifetime, submission, completion delivery, signal handling, and the accompanying tests. The inline findings cover writes executed with incorrect semantics, lost completions, and waits that can fail to make progress. This was a static review. I did not run tests, and CI job selection was still in progress when inspected.
…ion, inflight destroy drain, RWF flags, WaitQueue blocking, io_pgetevents EINTR mask)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes the final 31 Linux x86-64 syscalls (
355/386 -> 386/386, 100.0% Linux x86-64 syscall parity,Missing=0against/usr/include/asm/unistd_64.h):io_setup(206),io_destroy(207),io_getevents(208),io_submit(209),io_cancel(210),io_pgetevents(333)MmStateaio_contextstable (shared acrossCLONE_VMthreads, NOT inherited acrossfork(), automatically torn down onexecve()/exit)struct iocb(64B) &struct io_event(32B) wire ABI supportingPREAD/PWRITE/PREADV/PWRITEV/FSYNC/FDSYNC/NOOP,IOCB_FLAG_RESFDeventfd signaling, atomicEFAULTevent restoration, andio_pgeteventstemporary signal mask with shared-signal retargetingmodify_ldt(154)(reads empty 64-bit LDT ->0; writes validateuser_descand fail closedEOPNOTSUPP)set_thread_area(205),get_thread_area(211)(ENOSYSon native x86-64)init_module(175),finit_module(313),delete_module(176)(CAP_SYS_MODULE+ arg validation -> fail closedEOPNOTSUPP/ENOENT)kexec_load(246),kexec_file_load(320)(CAP_SYS_BOOT+ arg validation -> fail closedEOPNOTSUPP)quotactl(179),quotactl_fd(443)(CAP_SYS_ADMINon mutating ops + fd/path validation ->ENOSYS)uretprobe(335),uprobe(336),uselib(134),_sysctl(156),create_module(174),get_kernel_syms(177),query_module(178),nfsservctl(180),getpmsg(181),putpmsg(182),afs_syscall(183),tuxcall(184),security(185),lookup_dcookie(212),vserver(236)(exact upstream Linux x86-64ENOSYS)Validation
make fmt-check,make build,make lint(ABI oracle PASS),make clippy— PASSscripts/tools/hosted_subcrate_tests.sh— ALL 990 unit tests PASS (includingwave11_full_386_syscall_parity_and_abi_layoutsasserting every syscall in0..=336and424..=472)make test-strict-smp4(85/85),make musl-check— PASS/usr/include/asm/unistd_64.h:Linux=386 Implemented=386 Missing=0.