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

kernelite / milo / 46921396468

02 Dec 2026 03:59PM UTC coverage: 51.084% (+1.1%) from 49.948%
46921396468

push

github

web-flow
feat(syscalls,net): expose AF_UNIX socket syscalls and EL0 echo tests (#225)

* feat(syscalls,net): expose AF_UNIX socket syscalls and EL0 echo tests

- Implement Linux AArch64 socket syscalls (SYS_SOCKET through SYS_RECVMSG and
  SYS_ACCEPT4) in SocketSyscalls.cpp with user-memory marshaling for
  sockaddr_un, socklen_t, msghdr, and iovec
- Route socket syscalls in SyscallDispatcher.cpp, add ERR_ENOPROTOOPT and
  ERR_EPROTONOSUPPORT to errno.hpp, and expose bound_addr/peer_addr on
  Kernel::Net::UnixSocket
- Enforce SOCK_NONBLOCK/SOCK_CLOEXEC, -EBADF/-ENOTSOCK/-EFAULT/-EAFNOSUPPORT
  validation, and SIG_PIPE suppression with MSG_NOSIGNAL
- Add EL0 unix_echo_server and unix_echo_client binaries to busybox/bash initrds
- Wire `test unix_sock` into the kernel shell and `test all`
- Add host unit tests in tests/host/socket_syscall_test.cpp

* fix(tests): fix socket syscall build, lint, and EL0 shell test

- Fix AArch64 b.ge encoding and compute ShellUnixSockSuiteArgs ldr offsets via
  offsetof() in kernel/shell/tests/test_unix_socket.cpp

3784 of 9293 branches covered (40.72%)

Branch coverage included in aggregate %.

449 of 671 new or added lines in 3 files covered. (66.92%)

9 existing lines in 3 files now uncovered.

7718 of 13223 relevant lines covered (58.37%)

3378.26 hits per line

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

56.12
/kernel/syscalls/SocketSyscalls.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