Repository navigation
feat(syscall): Wave 8 — implement 22 P2 syscalls (New Mount API, Futex2, Modern VFS/NS/MM) (307/386) - #213
Merged
YUZHEthefool merged 2 commits intoDec 3, 2026
Conversation
…x2, Modern VFS/NS/MM) (307/386)
YUZHEthefool
commented
Dec 3, 2026
YUZHEthefool
left a comment
Member
Author
There was a problem hiding this comment.
Changes requested at a4102c3. I traced the mount and futex operations, cachestat, process_madvise, and file attributes through their syscall and VFS implementations, and inspected the Wave 8 tests. The findings include a recursive process-lock acquisition, lost futex wakes, and mount operations that can change the wrong object or leave partial state. This was a static review. I did not run local tests. Hosted, kernel build, and QEMU checks were still running when inspected.
…tv, pinned mount trees, move_mount, atomic mount_setattr, cachestat, process_madvise, file_setattr)
YUZHEthefool
deleted the
ao/syscall-parity/wave8-new-mount-futex2-modern-vfs
branch
December 3, 2026 13:01
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
Implements 22 Linux 5.x/6.x P2 syscalls, advancing Nilix syscall parity from 285/386 to 307/386:
New Mount API (10 syscalls)
open_tree(428),open_tree_attr(467),move_mount(429),fsopen(430),fsconfig(431),fsmount(432),fspick(433)mount_setattr(442),statmount(457),listmount(458)FsContextFile&MountTreeFiledescriptors and VFS callbacks (VfsWave8Callbacks) reusingMount::try_set_flagswriter-gate exclusion and mount-namespace views.Futex2 (4 syscalls)
futex_waitv(449),futex_wake(454),futex_wait(455),futex_requeue(456)U8/U16/U32,FUTEX2_PRIVATE), absoluteCLOCK_MONOTONIC/CLOCK_REALTIMEtimeouts, bitset masks, and multi-waiterfutex_waitv.Modern VFS / NS / MM / Sched (8 syscalls)
process_madvise(440),process_mrelease(448),cachestat(451)file_getattr(468),file_setattr(469)(24-byteFILE_ATTR_SIZE_VER0backed by boundedFILE_ATTR_STOREpurged on inode drop)listns(470),rseq_slice_yield(471),fchroot(472)(enforcesCAP_SYS_CHROOTin root user namespace + LSM execute permission)Verification
make fmt-check,make lint,make clippy,make build— PASSbash scripts/tools/hosted_subcrate_tests.sh— PASS (983 unit tests)make test-strict-smp4— PASS (85/85 SMP4 strict kernel tests)make musl-check— PASS