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)
Sun, Jun 23, 9:13 AM
Unknown Object (File)
Fri, Jun 21, 4:24 AM
Unknown Object (File)
Thu, May 30, 1:05 PM
Unknown Object (File)
May 13 2024, 11:03 AM
Unknown Object (File)
May 13 2024, 10:59 AM
Unknown Object (File)
May 13 2024, 9:45 AM
Unknown Object (File)
May 13 2024, 8:33 AM
Unknown Object (File)
May 12 2024, 11:29 AM
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