Page MenuHomeFreeBSD

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

Authored by glebius on Wed, May 4, 6:40 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.