Page MenuHomeFreeBSD

tests/unix_passfd: add test for shutdown(2) on a buffer with an fd
ClosedPublic

Authored by glebius on May 4 2022, 6:40 PM.
Tags
None
Referenced Files
F153686824: D35122.diff
Wed, Apr 22, 10:29 PM
Unknown Object (File)
Sun, Apr 19, 2:32 PM
Unknown Object (File)
Sun, Apr 12, 4:47 PM
Unknown Object (File)
Sun, Apr 12, 7:36 AM
Unknown Object (File)
Sat, Apr 11, 10:49 PM
Unknown Object (File)
Sat, Mar 28, 9:21 AM
Unknown Object (File)
Mar 6 2026, 3:45 PM
Unknown Object (File)
Mar 6 2026, 12:43 PM
Subscribers

Details

Summary

This has two goals:

  • Exercize call to unp_dispose() via soshutdown() instead of sofree()
  • Make sure that shutdown indeed dereferences the fd stored

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45467
Build 42355: arc lint + arc unit