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

kernelite / milo / 46901150085

02 Dec 2026 02:18PM UTC coverage: 49.948% (+0.8%) from 49.188%
46901150085

push

github

web-flow
feat(net): add VFS S_IFSOCK support and AF_UNIX stream/datagram engine (#224)

* feat(net): add VFS S_IFSOCK support and AF_UNIX stream/datagram engine

Add Linux AArch64 UNIX socket UAPI definitions and negated socket errnos,
extend VFS/tmpfs and getdents64 with kModeSock/DT_SOCK and vfs_mknod_at,
implement refcounted Kernel::Net::UnixSocket with SOCK_STREAM and
SOCK_DGRAM support and FileOperations, and add host unit tests.

* fix(net,fs,tests): stabilize AF_UNIX lifecycle, fix lint issues, and wire shell tests

- Track pending SOCK_STREAM connects in UnixSocket::connect() so the initial
  non-blocking connect returns 0 while repeated pending attempts return -EAGAIN
  without double-enqueueing
- Refcount heap-allocated StreamRings and retain peer UnixSocket endpoints
  symmetrically across accept() and create_socketpair() to avoid premature
  ring deletion and asymmetric peer releases in close_endpoint()
- Detect closed connected peers in SOCK_DGRAM UnixSocket::poll() to report
  POLLHUP and POLLERR
- Remove redundant kTmpfsInodeOps/kTmpfsFileOps declarations in tmpfs.cpp and
  resolve clang-tidy signed-bitwise and inc-dec-in-condition warnings
- Add and fix the AF_UNIX kernel shell suite (test_af_unix.cpp) and update
  af_unix_test.cpp cleanup

3494 of 8785 branches covered (39.77%)

Branch coverage included in aggregate %.

475 of 682 new or added lines in 6 files covered. (69.65%)

7163 of 12551 relevant lines covered (57.07%)

3285.76 hits per line

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

69.61
/kernel/fs/tmpfs/tmpfs.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