Home
last modified time | relevance | path

Searched refs:cap_out_rw (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/capsicum-test/
H A Dcapability-fd-pair.cc78 int cap_out_rw = dup(pipe2_fds[1]); in TEST() local
79 EXPECT_OK(cap_out_rw); in TEST()
80 EXPECT_OK(cap_rights_limit(cap_out_rw, &r_rw)); in TEST()
82 EXPECT_NOTCAPABLE(tee(cap_in_wo, cap_out_rw, 4, SPLICE_F_NONBLOCK)); in TEST()
84 EXPECT_OK(tee(cap_in_rw, cap_out_rw, 4, SPLICE_F_NONBLOCK)); in TEST()
89 close(cap_out_rw); in TEST()