Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/capsicum-test/
H A Dioctl.cc21 int fd_no = dup(fd); in TEST() local
22 EXPECT_OK(fd_no); in TEST()
24 EXPECT_OK(cap_rights_limit(fd_no, &rights_many)); in TEST()
29 EXPECT_NOTCAPABLE(ioctl(fd_no, FIONREAD, &bytes)); in TEST()
33 EXPECT_NOTCAPABLE(ioctl(fd_no, FIOCLEX, &one)); in TEST()
36 close(fd_no); in TEST()