Add a regress test that checks file descriptor allocation across fork.
authorjsing <jsing@openbsd.org>
Fri, 10 Aug 2018 15:58:16 +0000 (15:58 +0000)
committerjsing <jsing@openbsd.org>
Fri, 10 Aug 2018 15:58:16 +0000 (15:58 +0000)
commit58433342a1fe3852844b19900eb44b4d992525bc
tree5fe8eb7bc1754cccad68bcc82abb12f3814ee7b3
parent9406475e8b3ea5593448995104226950635465a6
Add a regress test that checks file descriptor allocation across fork.

In particular, this checks the behaviour of kqueue fds being closed and
reallocated across a fork.
regress/sys/kern/Makefile
regress/sys/kern/descrip/Makefile [new file with mode: 0644]
regress/sys/kern/descrip/descrip.c [new file with mode: 0644]