| /freebsd/lib/libcasper/services/cap_net/tests/ |
| H A D | net_test.c | 76 if (capret == EAI_SYSTEM && errno == ENOTCAPABLE) in test_getnameinfo_v4() 77 return (ENOTCAPABLE); in test_getnameinfo_v4() 105 if (capret == EAI_SYSTEM && errno == ENOTCAPABLE) in test_getnameinfo_v6() 106 return (ENOTCAPABLE); in test_getnameinfo_v6() 141 if (caphp == NULL && h_errno == ENOTCAPABLE) in test_gethostbyaddr_v4() 142 return (ENOTCAPABLE); in test_gethostbyaddr_v4() 163 if (caphp == NULL && h_errno == ENOTCAPABLE) in test_gethostbyaddr_v6() 164 return (ENOTCAPABLE); in test_gethostbyaddr_v6() 199 if (capret == EAI_SYSTEM && errno == ENOTCAPABLE) in test_getaddrinfo() 200 return (ENOTCAPABLE); in test_getaddrinfo() [all …]
|
| /freebsd/lib/libcasper/services/cap_fileargs/tests/ |
| H A D | fileargs_test.c | 312 ATF_REQUIRE(test_file_lstat(fa, files[i]) == ENOTCAPABLE); in ATF_TC_BODY() 313 ATF_REQUIRE(test_file_open(fa, TEST_FILE, NULL) == ENOTCAPABLE); in ATF_TC_BODY() 315 ATF_REQUIRE(test_file_write(fd) == ENOTCAPABLE); in ATF_TC_BODY() 316 ATF_REQUIRE(test_file_realpath(fa, files[i]) == ENOTCAPABLE); in ATF_TC_BODY() 317 ATF_REQUIRE(test_file_realpath(fa, TEST_FILE) == ENOTCAPABLE); in ATF_TC_BODY() 359 ATF_REQUIRE(test_file_lstat(fa, files[i]) == ENOTCAPABLE); in ATF_TC_BODY() 360 ATF_REQUIRE(test_file_open(fa, TEST_FILE, NULL) == ENOTCAPABLE); in ATF_TC_BODY() 362 ATF_REQUIRE(test_file_read(fd) == ENOTCAPABLE); in ATF_TC_BODY() 363 ATF_REQUIRE(test_file_realpath(fa, files[i]) == ENOTCAPABLE); in ATF_TC_BODY() 364 ATF_REQUIRE(test_file_realpath(fa, TEST_FILE) == ENOTCAPABLE); in ATF_TC_BODY() [all …]
|
| /freebsd/tools/regression/capsicum/syscalls/ |
| H A D | cap_fcntls_limit.c | 94 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 108 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 112 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 121 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 127 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 140 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 143 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 146 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 149 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 173 CHECK(errno == ENOTCAPABLE); in fcntl_tests_1() [all...] |
| H A D | cap_ioctls_limit.c | 88 CHECK(errno == ENOTCAPABLE); in ioctl_tests_0() 98 CHECK(errno == ENOTCAPABLE); in ioctl_tests_0() 108 CHECK(errno == ENOTCAPABLE); in ioctl_tests_0() 114 CHECK(errno == ENOTCAPABLE); in ioctl_tests_0() 120 CHECK(errno == ENOTCAPABLE); in ioctl_tests_0() 149 CHECK(errno == ENOTCAPABLE); in ioctl_tests_1() 154 CHECK(errno == ENOTCAPABLE); in ioctl_tests_1() 160 CHECK(errno == ENOTCAPABLE); in ioctl_tests_1() 166 CHECK(errno == ENOTCAPABLE); in ioctl_tests_1() 188 CHECK(errno == ENOTCAPABLE); in ioctl_tests_2() [all...] |
| /freebsd/lib/libcasper/services/cap_dns/tests/ |
| H A D | dns_test.c | 383 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 385 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 412 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 415 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 444 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 447 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 478 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 481 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 510 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 513 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() [all …]
|
| /freebsd/tests/sys/vfs/ |
| H A D | lookup_cap_dotdot.c | 197 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "..", O_RDONLY) < 0); in ATF_TC_BODY() 199 ATF_REQUIRE_ERRNO(ENOTCAPABLE, in ATF_TC_BODY() 203 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, abspath, O_RDONLY) < 0); in ATF_TC_BODY() 206 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "lup/f1", O_RDONLY) < 0); in ATF_TC_BODY() 228 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "..", O_RDONLY) < 0); in ATF_TC_BODY() 229 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "d1/../..", O_RDONLY) < 0); in ATF_TC_BODY() 230 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dirfd, "../testdir/d1/f1", O_RDONLY) < 0); in ATF_TC_BODY() 255 ATF_REQUIRE_ERRNO(ENOTCAPABLE, openat(dfd, "..", O_DIRECTORY)); in ATF_TC_BODY()
|
| /freebsd/lib/libcasper/services/cap_net/ |
| H A D | cap_net.c | 799 return (ENOTCAPABLE); in net_gethostbyname() 810 return (ENOTCAPABLE); in net_gethostbyname() 814 return (ENOTCAPABLE); in net_gethostbyname() 834 return (ENOTCAPABLE); in net_gethostbyaddr() 844 return (ENOTCAPABLE); in net_gethostbyaddr() 848 return (ENOTCAPABLE); in net_gethostbyaddr() 870 serrno = ENOTCAPABLE; in net_getnameinfo() 906 serrno = ENOTCAPABLE; in net_getnameinfo() 923 serrno = ENOTCAPABLE; in net_getnameinfo() 980 serrno = ENOTCAPABLE; in net_getaddrinfo() [all...] |
| /freebsd/bin/cp/ |
| H A D | extern.h | 59 #ifdef ENOTCAPABLE 61 warnc(errno == ENOTCAPABLE ? EACCES : errno, __VA_ARGS__) 63 errc(rv, errno == ENOTCAPABLE ? EACCES : errno, __VA_ARGS__)
|
| /freebsd/lib/libcasper/services/cap_fileargs/ |
| H A D | cap_fileargs.c | 329 errno = ENOTCAPABLE; in fileargs_open() 386 errno = ENOTCAPABLE; in fileargs_lstat() 426 errno = ENOTCAPABLE; in fileargs_realpath() 624 return (ENOTCAPABLE); in fileargs_limit() 647 return (ENOTCAPABLE); in fileargs_command_lstat() 650 return (ENOTCAPABLE); in fileargs_command_lstat() 677 return (ENOTCAPABLE); in fileargs_command_realpath() 680 return (ENOTCAPABLE); in fileargs_command_realpath() 699 return (ENOTCAPABLE); in fileargs_command_open() 702 return (ENOTCAPABLE); in fileargs_command_open()
|
| /freebsd/tests/sys/capsicum/ |
| H A D | capsicum-freebsd.h | 37 #define E_NO_TRAVERSE_CAPABILITY ENOTCAPABLE 38 #define E_NO_TRAVERSE_O_BENEATH ENOTCAPABLE
|
| H A D | capsicum-test.h | 196 #define EXPECT_NOTCAPABLE(C) EXPECT_SYSCALL_FAIL(ENOTCAPABLE, C) 199 #define EXPECT_FAIL_NOT_NOTCAPABLE(C) EXPECT_SYSCALL_FAIL_NOT(ENOTCAPABLE, C) 206 EXPECT_TRUE(errno == ECAPMODE || errno == ENOTCAPABLE) \
|
| /freebsd/sys/kern/ |
| H A D | sys_capability.c | 165 return (ENOTCAPABLE); in _cap_check() 187 return (ENOTCAPABLE); in cap_check_failed_notcapable() 381 return (ENOTCAPABLE); in cap_ioctl_check() 400 return (ENOTCAPABLE); in cap_ioctl_limit_check() 409 return (ENOTCAPABLE); in cap_ioctl_limit_check() 560 return (ENOTCAPABLE); in cap_fcntl_check_fde() 601 return (ENOTCAPABLE); in sys_cap_fcntls_limit()
|
| /freebsd/lib/libcasper/services/cap_grp/ |
| H A D | cap_grp.c | 473 return (ENOTCAPABLE); in grp_allowed_cmds() 543 return (ENOTCAPABLE); in grp_allowed_groups() 578 return (ENOTCAPABLE); in grp_allowed_fields() 730 return (ENOTCAPABLE); in grp_limit() 734 return (ENOTCAPABLE); in grp_limit() 738 return (ENOTCAPABLE); in grp_limit() 768 return (ENOTCAPABLE); in grp_command()
|
| /freebsd/lib/libcasper/libcasper/ |
| H A D | libcasper_service.c | 131 return (ENOTCAPABLE); in casper_limit() 184 return (ENOTCAPABLE); in casper_command()
|
| /freebsd/cddl/lib/libdtrace/ |
| H A D | errno.d | 218 inline int ENOTCAPABLE = 93; variable 219 #pragma D binding "1.13" ENOTCAPABLE 339 errno == ENOTCAPABLE ? "Capabilities insufficient" :
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | beneath3.sh | 87 if (fd != -1 || errno != ENOTCAPABLE)
|
| H A D | beneath2.sh | 96 errno != ENOTCAPABLE)
|
| /freebsd/lib/libcasper/services/cap_dns/ |
| H A D | cap_dns.c | 713 return (ENOTCAPABLE); in dns_limit() 722 return (ENOTCAPABLE); in dns_limit() 737 return (ENOTCAPABLE); in dns_limit() 741 return (ENOTCAPABLE); in dns_limit()
|
| /freebsd/tools/regression/security/cap_test/ |
| H A D | cap_test.h | 107 CHECK_SYSCALL_FAILS(ENOTCAPABLE, __VA_ARGS__)
|
| /freebsd/sys/sys/ |
| H A D | errno.h | 176 #define ENOTCAPABLE 93 /* Capabilities insufficient */ macro
|
| /freebsd/lib/libc/nls/ |
| H A D | ru_RU.UTF-8.msg | 191 $ ENOTCAPABLE
|
| H A D | ru_RU.KOI8-R.msg | 191 $ ENOTCAPABLE
|
| H A D | uk_UA.UTF-8.msg | 191 $ ENOTCAPABLE
|
| H A D | ja_JP.UTF-8.msg | 191 $ ENOTCAPABLE
|
| H A D | ja_JP.eucJP.msg | 191 $ ENOTCAPABLE
|