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
Unknown Object (File)
Fri, May 15, 4:33 AM
Unknown Object (File)
Sat, May 2, 12:25 PM
Unknown Object (File)
Mon, Apr 27, 4:24 AM
Unknown Object (File)
Wed, Apr 22, 10:29 PM
Unknown Object (File)
Apr 19 2026, 2:32 PM
Unknown Object (File)
Apr 12 2026, 4:47 PM
Unknown Object (File)
Apr 12 2026, 7:36 AM
Unknown Object (File)
Apr 11 2026, 10:49 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable