Page MenuHomeFreeBSD

tests/unix_seqpacket: test send(2) to a closed or aborted peer socket
ClosedPublic

Authored by glebius on Feb 29 2024, 7:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 13 2025, 5:41 AM
Unknown Object (File)
Sep 11 2025, 10:31 PM
Unknown Object (File)
Aug 26 2025, 4:17 AM
Unknown Object (File)
Aug 25 2025, 7:25 PM
Unknown Object (File)
Aug 25 2025, 3:30 PM
Unknown Object (File)
Aug 25 2025, 9:47 AM
Unknown Object (File)
Jun 17 2025, 4:01 AM
Unknown Object (File)
Jun 13 2025, 12:18 PM
Subscribers

Details

Summary

In both cases the kernel returns EPIPE and delivers SIGPIPE, unless
blocked or disabled. The test isn't specific to SOCK_SEQPACKET, it is the
same for SOCK_STREAM. Put the test into this file, since it has all
primitives to write this test tersely.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable