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
F105482475: D35122.id.diff
Mon, Dec 16, 6:44 PM
Unknown Object (File)
Sat, Nov 23, 5:16 AM
Unknown Object (File)
Nov 9 2024, 3:40 PM
Unknown Object (File)
Oct 18 2024, 5:36 PM
Unknown Object (File)
Oct 6 2024, 8:32 AM
Unknown Object (File)
Oct 5 2024, 1:54 AM
Unknown Object (File)
Oct 4 2024, 8:23 PM
Unknown Object (File)
Oct 3 2024, 9:08 AM
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