diff options
author | 2017-02-22 11:30:00 +0000 | |
---|---|---|
committer | 2017-02-22 11:30:00 +0000 | |
commit | 6f5256c2788fa6f7071806bd1ff25f3d0804edeb (patch) | |
tree | 051a71c650ec1e9cc7132ace6f617941e2f3d8b8 /sys | |
parent | Do not grab the NET_LOCK() when poll(2)ing on unix domain sockets. (diff) | |
download | wireguard-openbsd-6f5256c2788fa6f7071806bd1ff25f3d0804edeb.tar.xz wireguard-openbsd-6f5256c2788fa6f7071806bd1ff25f3d0804edeb.zip |
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!
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions