Skip to content

[SUBISSUE #3] Audit -ENOSYS Microkernel Boundaries and Publish Linux AArch64 Syscall ABI Matrix #300

Todo

Description

@marcobuschini

Parent Issue / Epic

#284 (Epic #265)

Prerequisite Sub-Issue

#298, #299

Atomic Deliverable & Implementation Details

Finalize Epic #265 with an explicit boundary audit, full syscall-table regression coverage, and user-facing documentation:

  • tests/host/ & user/test_milo.c: Add automated tests verifying every documented out-of-scope Linux subsystem (io_uring_setup 425, io_uring_enter 426, io_uring_register 427, bpf 280, perf_event_open 241, unshare 97, setns 268, kexec_load 104) cleanly returns -ENOSYS without panicking, corrupting trap state, or leaking memory.
  • docs/: Publish a concise, generated-or-verified Linux AArch64 (asm-generic/unistd.h) syscall compatibility matrix documenting every implemented syscall number, ABI notes, and intentional -ENOSYS microkernel boundaries.

Out of scope: implementing eBPF JIT, io_uring, perf_event_open, or Linux namespaces.

Acceptance Criteria & Edge Cases

  • Automated host and QEMU EL0 (user/test_milo.c) tests assert clean -ENOSYS behavior across all out-of-scope syscall numbers with zero crashes or leaks
  • Documentation in docs/ accurately matches kernel/syscalls/SyscallDispatcher.cpp syscall numbers and links cleanly from docs/index.md
  • make format && make clean-tests && make -j"$(nproc)" all && make -j"$(nproc)" quality passes with zero warnings and test all passes with failed=0

Metadata

Metadata

Assignees

Labels

subissue

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions