Searched refs:cap_rights_get (Results 1 - 13 of 13) sorted by relevance
/freebsd-13-stable/contrib/capsicum-test/ |
H A D | capsicum.h | 121 /* 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 D | fcntl.cc | 176 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 D | openat.cc | 94 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 D | smoketest.c | 44 /* 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 D | capability-fd.cc | 156 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 D | ioctl.cc | 54 EXPECT_OK(cap_rights_get(fd, &rights)); 84 EXPECT_OK(cap_rights_get(fd, &cur_rights));
|
H A D | socket.cc | 113 EXPECT_OK(cap_rights_get(conn_fd, &rights)); 230 EXPECT_OK(cap_rights_get(conn_fd, &rights));
|
H A D | sctp.cc | 183 EXPECT_OK(cap_rights_get(peeled, &rights));
|
H A D | linux.cc | 498 EXPECT_OK(cap_rights_get(ev.fd, &rights));
|
/freebsd-13-stable/sys/sys/ |
H A D | capsicum.h | 485 #define cap_rights_get(fd, rights) \
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | Makefile.inc | 204 cap_rights_get.3 \
|
/freebsd-13-stable/lib/libcasper/services/cap_fileargs/tests/ |
H A D | fileargs_test.c | 215 ATF_REQUIRE(cap_rights_get(fd, &fdrights) == 0);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 8148 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