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
F168404833: D44146.id136735.diff
Fri, Aug 28, 2:12 AM
F168369140: D44146.id135205.diff
Thu, Aug 27, 7:49 PM
Unknown Object (File)
Wed, Aug 26, 1:32 PM
Unknown Object (File)
Wed, Aug 26, 11:40 AM
Unknown Object (File)
Wed, Aug 26, 11:24 AM
Unknown Object (File)
Mon, Aug 24, 12:05 AM
Unknown Object (File)
Sun, Aug 23, 11:20 PM
Unknown Object (File)
Sun, Aug 23, 7:19 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 56341
Build 53229: arc lint + arc unit