]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tests/unix_seqpacket: test that data can be sent before accept(2)
authorGleb Smirnoff <glebius@FreeBSD.org>
Wed, 28 Feb 2024 22:32:46 +0000 (14:32 -0800)
committerGleb Smirnoff <glebius@FreeBSD.org>
Wed, 28 Feb 2024 22:32:46 +0000 (14:32 -0800)
commit3bc122d27064957911570c1037e6b644b7303c17
treed2390b51f1db072ee8462458727152c596d3db5b
parent1f46c32c1f3d0ea2a4c748a24aad06329cfb5f5a
tests/unix_seqpacket: test that data can be sent before accept(2)

This is undocumented feature of PF_UNIX/SOCK_STREAM and thus of
PF_UNIX/SOCK_SEQPACKET, too.  Put the test into this file, since this file
is most advanced and has all primitives to write this test in minimum
number of lines.

Differential Revision: https://reviews.freebsd.org/D43853
tests/sys/kern/unix_seqpacket_test.c