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)
Fri, Jan 17, 9:29 PM
Unknown Object (File)
Sep 19 2024, 8:57 PM
Unknown Object (File)
Sep 19 2024, 10:38 AM
Unknown Object (File)
Sep 19 2024, 10:14 AM
Unknown Object (File)
Sep 18 2024, 11:02 PM
Unknown Object (File)
Sep 1 2024, 8:38 PM
Unknown Object (File)
Jul 24 2024, 1:56 AM
Unknown Object (File)
Jul 1 2024, 12:32 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