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
F154495046: D44146.id136735.diff
Tue, Apr 28, 6:24 PM
F154491938: D44146.id136735.diff
Tue, Apr 28, 6:17 PM
F154477258: D44146.id135205.diff
Tue, Apr 28, 5:23 PM
F154473976: D44146.id135205.diff
Tue, Apr 28, 5:14 PM
Unknown Object (File)
Mon, Apr 27, 4:55 PM
Unknown Object (File)
Mon, Apr 27, 1:18 PM
Unknown Object (File)
Mon, Apr 27, 7:26 AM
Unknown Object (File)
Fri, Apr 17, 7:40 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