CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2017/02/22 04:30:00

Added files:
        regress/sys/kern/pledge/sendrecvfd: Makefile sendrecvfd.c 

Log message:
Add regress tests for fd passing and pledge. Check sending and receiving
all 7 types of vnodes as follows:
- nopledge:      no pledge - verify that send/recv work as expected
- sendfd:        pledge the sender with "stdio sendfd"
- recvfd:        pledge the receiver with "stdio recvfd"
- nosendfd:      pledge the sender with "stdio" (it is expected to fail)
- norecvfd:      pledge the receiver with "stdio" (it is expected to fail)
This results in 35 possible combinations with different semantics depending
on the vnode type.

>From semarie, many thanks!

Reply via email to