Home
last modified time | relevance | path

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

/freebsd/contrib/capsicum-test/
H A Dcapability-fd-pair.cc28 int cap_out_ro = dup(sock_fds[0]); in TEST() local
29 EXPECT_OK(cap_out_ro); in TEST()
30 EXPECT_OK(cap_rights_limit(cap_out_ro, &r_rs)); in TEST()
36 EXPECT_NOTCAPABLE(sendfile_(cap_out_ro, cap_in_ro, &offset, 4)); in TEST()
42 close(cap_out_ro); in TEST()
75 int cap_out_ro = dup(pipe2_fds[1]); in TEST() local
76 EXPECT_OK(cap_out_ro); in TEST()
77 EXPECT_OK(cap_rights_limit(cap_out_ro, &r_ro)); in TEST()
83 EXPECT_NOTCAPABLE(tee(cap_in_rw, cap_out_ro, 4, SPLICE_F_NONBLOCK)); in TEST()
88 close(cap_out_ro); in TEST()
[all …]