CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2018/11/28 01:06:22
Modified files: regress/sys/kern/unfdpass: Makefile unfdpass.c Added files: regress/sys/kern/unfdpass: expected_overflow expected_read Log message: Test for EMSGSIZE return when sending more fds in a message then the receiver can handle and also test the case where the reciever is using read() instead of recvmsg() to test the unp_discard() codepath in the kernel. The latter test is just instrumenting the code but has no way to check if the discarding was successful. OK guenther@ bluhm@