Repository navigation
Description
Parent Epic
Blocked By / Dependencies
#280 (Phase 2 — epoll), #281 (Phase 3 — VFS mutation hooks), and #282 (Phase 4 — Process control)
Problem Statement & Context
The final phase of Epic #265 covers long-tail Linux developer and desktop-tooling syscalls (inotify_* for live file/config watching, process_vm_readv/writev and minimal ptrace for debuggers/inspectors) and establishes an explicit, tested, and documented -ENOSYS boundary policy for heavy Linux-specific subsystems (io_uring, bpf, perf_event_open, unshare/setns) that are intentionally out of microkernel scope.
Scope & Technical Touchpoints
In Scope
inotify_init1(26),inotify_add_watch(27),inotify_rm_watch(28) with VFS mutation hooks andepollreadinessprocess_vm_readv(270),process_vm_writev(271), and minimalptrace(117) inspection/single-step support- Comprehensive syscall-table audit,
-ENOSYSboundary regression tests (io_uring_*,bpf,perf_event_open,unshare/setns), and documentation of Milo's supported Linux AArch64 ABI matrix
Technical Touchpoints
kernel/uapi/event.hpp,kernel/ipc/,kernel/fs/Vfs.cppkernel/syscalls/ProcessSyscalls.cpp,kernel/syscalls/EventSyscalls.cpp,kernel/syscalls/SyscallDispatcher.cppkernel/hal/cpu.hpp,arch/aarch64-linux-gnu/(forptracesingle-step / register-set access)tests/host/,kernel/shell/tests/,user/test_milo.c,docs/
Out of Scope
- Full eBPF JIT/verifier, full
io_uringring submission engine, or Linux cgroup/namespace container runtime
Split Verdict: SPLIT
Rationale: inotify touches VFS + IPC event queues, ptrace/process_vm_* touches HAL trap/register inspection + cross-AddressSpace memory copy, and the final ABI boundary audit + matrix spans documentation and full-table regression tests. Splitting into 3 subissues keeps each PR small and independently verifiable.
Subissues
- [SUBISSUE #1] Implement inotify File Watching (inotify_init1, inotify_add_watch, inotify_rm_watch) #298 —
[SUBISSUE #1]Implement inotify File Watching (inotify_init1, inotify_add_watch, inotify_rm_watch) (Deps: [SUBISSUE #1] Implement signalfd4 and epoll_pwait2 Kernel Primitives and Syscalls #287, [SUBISSUE #2] Implement Extended Metadata and Namespace Operations (statx, statfs, fstatfs, symlinkat, linkat, mknodat) #290) - [SUBISSUE #2] Implement Process Inspection Syscalls (process_vm_readv/writev and Minimal ptrace) #299 —
[SUBISSUE #2]Implement Process Inspection Syscalls (process_vm_readv/writev and Minimal ptrace) (Deps: [SUBISSUE #2] Implement Process Control, Scheduling Policy, Credentials, and prctl Syscalls #293) - [SUBISSUE #3] Audit -ENOSYS Microkernel Boundaries and Publish Linux AArch64 Syscall ABI Matrix #300 —
[SUBISSUE #3]Audit -ENOSYS Microkernel Boundaries and Publish Linux AArch64 Syscall ABI Matrix (Deps: [SUBISSUE #1] Implement inotify File Watching (inotify_init1, inotify_add_watch, inotify_rm_watch) #298, [SUBISSUE #2] Implement Process Inspection Syscalls (process_vm_readv/writev and Minimal ptrace) #299)
Acceptance Criteria
-
inotify_*watches emit accuratelinux_inotify_eventrecords on file creation, modification, rename, and deletion and integrate withepoll -
process_vm_readv/writevand minimalptraceenforce process/permission boundaries with zero memory or refcount leaks - All out-of-scope Linux syscalls cleanly return
-ENOSYSunder automated regression tests and are documented indocs/ -
make format && make clean-tests && make -j"$(nproc)" all && make -j"$(nproc)" qualitypasses with zero warnings
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTodo
Activity