Searched refs:cap_out_wo (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/capsicum-test/ |
H A D | capability-fd-pair.cc | 31 int cap_out_wo = dup(sock_fds[0]); in TEST() local 32 EXPECT_OK(cap_out_wo); in TEST() 33 EXPECT_OK(cap_rights_limit(cap_out_wo, &r_ws)); in TEST() 37 EXPECT_NOTCAPABLE(sendfile_(cap_out_wo, cap_in_wo, &offset, 4)); in TEST() 38 EXPECT_OK(sendfile_(cap_out_wo, cap_in_ro, &offset, 4)); in TEST() 43 close(cap_out_wo); in TEST() 127 int cap_out_wo = dup(pipe2_fds[1]); in TEST() local 128 EXPECT_OK(cap_out_wo); in TEST() 129 EXPECT_OK(cap_rights_limit(cap_out_wo, &r_wo)); in TEST() 140 EXPECT_NOTCAPABLE(splice(cap_in_ro_seek, NULL, cap_out_wo, NULL, 4, SPLICE_F_NONBLOCK)); in TEST() [all …]
|