You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SUBISSUE #2] Add Host ASan/UBSan and QEMU Shell Tests for signalfd4 and epoll_pwait2 #288
Add comprehensive automated verification for Phase 2 event-loop syscalls:
tests/host/: Add Snitch ASan/UBSan tests covering signalfd4 creation, mask update, SFD_CLOEXEC/SFD_NONBLOCK, read of linux_signalfd_siginfo, epoll monitoring of signalfd4, epoll_pwait2 zero/sub-ms/invalid timeouts, sigmask swap, and zero VFS/heap/PFA leaks on teardown.
kernel/shell/tests/: Add EL0 QEMU verification exercising signalfd4 + epoll_pwait2 end-to-end with real signal delivery (kill/tgkill) and timer expiration.
Out of scope: core EventLoop.cpp implementation ([SUBISSUE #1]).
Acceptance Criteria & Edge Cases
Host Snitch suite covers all success, boundary, and negative-errno paths (EINVAL, EBADF, EFAULT, EAGAIN, EINTR) under ASan/UBSan
Repeated test runs restore PFA free pages, slab objects, and VFS/PCB counts to exact baseline
QEMU shell verification passes with failed=0
make format && make clean-tests && make -j"$(nproc)" all && make -j"$(nproc)" quality passes with zero warnings
Activity