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
F166611755: D35122.id105786.diff
Fri, Aug 14, 9:03 PM
F166611728: D35122.id105679.diff
Fri, Aug 14, 9:03 PM
F166611618: D35122.diff
Fri, Aug 14, 9:02 PM
Unknown Object (File)
Mon, Jul 20, 12:11 PM
Unknown Object (File)
Sat, Jul 18, 8:19 PM
Unknown Object (File)
Jul 4 2026, 3:01 PM
Unknown Object (File)
Jul 3 2026, 11:00 AM
Unknown Object (File)
Jul 2 2026, 1:04 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