Add new 'unsopassgc' test. This test tries to beak unix(4) sockets garbage
authormvs <mvs@openbsd.org>
Tue, 14 Dec 2021 16:12:48 +0000 (16:12 +0000)
committermvs <mvs@openbsd.org>
Tue, 14 Dec 2021 16:12:48 +0000 (16:12 +0000)
commit6767823d56342a3900d5027f912282c867226f74
tree0d0ba1df5a0d0f7b126fec78a71489dbdc0dca76
parent5eaa5d75116473501123c7c49a53926e9903ef15
Add new 'unsopassgc' test. This test tries to beak unix(4) sockets garbage
collector and make it to clean `so_rcv' buffer of alive socket. Successful
breakage should produce kernel panic.

ok bluhm@ mpi@
regress/sys/kern/unixsockets/Makefile
regress/sys/kern/unixsockets/unsopassgc.c [new file with mode: 0644]