Searched refs:cap_rights_get (Results 1 - 13 of 13) sorted by relevance

/freebsd-13-stable/contrib/capsicum-test/
H A Dcapsicum.h121 /* Define cap_rights_get() in terms of old-style cap_getrights() */
122 inline int cap_rights_get(int fd, cap_rights_t *rights) { function
H A Dfcntl.cc176 EXPECT_OK(cap_rights_get(newfd, &rights));
182 EXPECT_OK(cap_rights_get(newfd, &rights));
274 EXPECT_OK(cap_rights_get(fd, &rights));
300 EXPECT_OK(cap_rights_get(fd, &cur_rights));
H A Dopenat.cc94 EXPECT_OK(cap_rights_get(fd, &rights));
140 EXPECT_OK(cap_rights_get(fd, &rights));
146 EXPECT_OK(cap_rights_get(fd, &rights));
H A Dsmoketest.c44 /* cap_rights_get() available? */
47 rc = cap_rights_get(cap_fd, &rights);
50 fprintf(stderr, "[%d] cap_rights_get(cap_fd=%d) rc=%d rights=%s\n", getpid_(), cap_fd, rc, buffer);
51 if (rc < 0) fprintf(stderr, "*** cap_rights_get() failed: errno=%d %s\n", errno, strerror(errno));
H A Dcapability-fd.cc156 if (cap_rights_get(fd, &rights) < 0) {
218 EXPECT_OK(cap_rights_get(cap_fd, &rights));
227 EXPECT_OK(cap_rights_get(cap_fd, &rights));
233 EXPECT_OK(cap_rights_get(cap_dup, &rights));
237 EXPECT_OK(cap_rights_get(cap_dup, &rights));
242 EXPECT_OK(cap_rights_get(cap_dup, &rights));
383 EXPECT_OK(cap_rights_get(file, &rights));
501 EXPECT_OK(cap_rights_get(cap_fd, &erights));
509 EXPECT_OK(cap_rights_get(cap_cap_fd, &erights));
683 EXPECT_OK(cap_rights_get(dfd_ca
[all...]
H A Dioctl.cc54 EXPECT_OK(cap_rights_get(fd, &rights));
84 EXPECT_OK(cap_rights_get(fd, &cur_rights));
H A Dsocket.cc113 EXPECT_OK(cap_rights_get(conn_fd, &rights));
230 EXPECT_OK(cap_rights_get(conn_fd, &rights));
H A Dsctp.cc183 EXPECT_OK(cap_rights_get(peeled, &rights));
H A Dlinux.cc498 EXPECT_OK(cap_rights_get(ev.fd, &rights));
/freebsd-13-stable/sys/sys/
H A Dcapsicum.h485 #define cap_rights_get(fd, rights) \
/freebsd-13-stable/lib/libc/gen/
H A DMakefile.inc204 cap_rights_get.3 \
/freebsd-13-stable/lib/libcasper/services/cap_fileargs/tests/
H A Dfileargs_test.c215 ATF_REQUIRE(cap_rights_get(fd, &fdrights) == 0);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc8148 INTERCEPTOR(int, cap_rights_get, int fd, __sanitizer_cap_rights_t *rights) {
8150 COMMON_INTERCEPTOR_ENTER(ctx, cap_rights_get, fd, rights);
8151 int ret = REAL(cap_rights_get)(fd, rights);
8230 COMMON_INTERCEPT_FUNCTION(cap_rights_get); \

Completed in 278 milliseconds