summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/pledge/sendrecvfd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add regress tests for fd passing and pledge. Check sending and receivingtb2017-02-222-0/+349
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!