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)
Mon, May 20, 12:17 PM
Unknown Object (File)
May 3 2024, 2:34 PM
Unknown Object (File)
Apr 30 2024, 1:44 PM
Unknown Object (File)
Apr 30 2024, 1:32 PM
Unknown Object (File)
Apr 30 2024, 1:32 PM
Unknown Object (File)
Apr 30 2024, 7:14 AM
Unknown Object (File)
Jan 17 2024, 5:21 PM
Unknown Object (File)
Dec 23 2023, 2:03 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