• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kernelite / milo / 47380827177

04 Dec 2026 04:52PM UTC coverage: 69.824% (-0.4%) from 70.259%
47380827177

push

github

web-flow
feat(ipc): bring up minimal Wayland compositor and wl_shm client on /dev/fb0 and evdev (#278)

* feat(ipc): bring up Wayland kernel ABI, compositor, and wl_shm client

Implement the kernel ABI primitives and userspace binaries required to run
a minimal Wayland compositor and wl_shm client on /dev/fb0 and evdev:

- SCM_RIGHTS FD passing over AF_UNIX (sendmsg/recvmsg, MSG_CMSG_CLOEXEC,
  MSG_CTRUNC, stream boundary framing, refcounted File* transfer)
- Cross-process MAP_SHARED on tmpfs (get_page hook, up to 4 MiB files),
  sys_memfd_create (279), and /dev/shm tmpfs mount
- epoll (epoll_create1/epoll_ctl/epoll_pwait), eventfd2, and timerfd
  (timerfd_create/settime/gettime) event loop primitives
- Userspace threads (clone CLONE_THREAD with refcounted SharedProcessState,
  exit vs exit_group, gettid, tkill/tgkill) and sys_futex (WAIT/WAKE)
- Minimal Wayland compositor (user/wl_compositor.c) and threaded wl_shm
  client (user/wl_client.c) speaking Wayland wire protocol over
  /tmp/wayland-0, compositing to /dev/fb0, and forwarding /dev/input/event*
- Host ASan/UBSan tests (tests/host/wayland_abi_test.cpp) and QEMU shell
  verification suite (kernel/shell/tests/test_wayland.cpp)

Closes #264

* fix(process): hang up orphaned session jobs on shell exit and add make run-vnc

- Send SIGHUP (or SIGKILL if ignored/blocked) to remaining session
  members when a root session leader exits without PID 1 init, and reap
  zombie session children during Process::destroy() so interactive shells
  return immediately to milo> with zero leaked PCBs or PFA frames
- Handle SIGHUP cleanly in user/wl_compositor.c to unlink /tmp/wayland-0
  and unmap /dev/fb0 on shutdown
- Add make run-vnc target using -vnc 0.0.0.0:0 -serial mon:stdio so
  Ctrl-A X exits QEMU cleanly while viewing /dev/fb0 over VNC
- Add host test covering root session-leader zombie reaping

6143 of 10495 branches covered (58.53%)

Branch coverage included in aggregate %.

932 of 1341 new or added lines in 13 files covered. (69.5%)

13 existing lines in 5 files now uncovered.

11665 of 15009 relevant lines covered (77.72%)

4469.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.68
/kernel/syscalls/EventSyscalls.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc