Skip to content

feat(user): add EL0 test_milo end-to-end verification command (#220) - #246

Merged
marcobuschini merged 1 commit into
mainfrom
220-issue-add-el0-test_milo-end-to-end-userspace-verification-command
Dec 3, 2026
Merged

marcobuschini merged 1 commit into
mainfrom
220-issue-add-el0-test_milo-end-to-end-userspace-verification-command

Conversation

@marcobuschini

@marcobuschini marcobuschini commented Dec 3, 2026 •

Copy link
Copy Markdown
Member
  • Add user/test_milo.c static musl C binary (/bin/test_milo) with -q/--quiet and -h/--help flags, verifying uname, fork/waitpid, sigaction/kill/rt_sigreturn, clock_gettime/nanosleep, sysinfo/getrandom, mmap/mprotect/munmap, pipe2/dup3/fcntl/ppoll, AF_UNIX socketpair, rootfs (/init.txt), tmpfs, ext2 (/mnt/disk), devfs (/dev/console, /dev/null, /dev/zero, /dev/urandom), and /dev/fb0
  • Wire user/test_milo.c into Makefile (SRCS_C, TEST_MILO_USER_BIN, and both busybox.cpio and bash.cpio initrd images)
  • Document /bin/test_milo in docs/08-testing-and-ci.md

Verification & Quality Gates

  • make all builds cleanly under aarch64-linux-gnu-g++ (-std=c++20 -Werror)
  • make quality passes format-check, lint-report (clang-tidy), and test-host
  • make test-host passes Snitch unit tests under ASan/UBSan with zero PFA/heap leaks
  • Verified in QEMU (make run) where applicable

Checklist

  • PR title and commits follow Conventional Commits / Commitizen specification
  • Changes adhere to freestanding C++20 rules (no exceptions, RTTI, or banned headers)
  • Changes stay strictly within the scope of the linked issue/sub-issue

- Add user/test_milo.c static musl C binary (/bin/test_milo) with -q/--quiet
  and -h/--help flags, verifying uname, fork/waitpid, sigaction/kill/rt_sigreturn,
  clock_gettime/nanosleep, sysinfo/getrandom, mmap/mprotect/munmap,
  pipe2/dup3/fcntl/ppoll, AF_UNIX socketpair, rootfs (/init.txt), tmpfs,
  ext2 (/mnt/disk), devfs (/dev/console, /dev/null, /dev/zero, /dev/urandom),
  and /dev/fb0
- Wire user/test_milo.c into Makefile (SRCS_C, TEST_MILO_USER_BIN, and both
  busybox.cpio and bash.cpio initrd images)
- Document /bin/test_milo in docs/08-testing-and-ci.md
@marcobuschini marcobuschini self-assigned this Dec 3, 2026
@marcobuschini marcobuschini linked an issue Dec 3, 2026 that may be closed by this pull request
7 tasks
@marcobuschini
marcobuschini merged commit b823e2a into main Dec 3, 2026
5 checks passed
@marcobuschini
marcobuschini deleted the 220-issue-add-el0-test_milo-end-to-end-userspace-verification-command branch December 3, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ISSUE] Add EL0 test_milo End-to-End Userspace Verification Command

1 participant