Home
last modified time | relevance | path

Searched refs:ENOTCAPABLE (Results 1 – 25 of 64) sorted by relevance

123

/freebsd/lib/libcasper/services/cap_net/tests/
H A Dnet_test.c76 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 Dfileargs_test.c312 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 Dcap_fcntls_limit.c94 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 Dcap_ioctls_limit.c88 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 Ddns_test.c383 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 Dlookup_cap_dotdot.c197 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 Dcap_net.c799 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 Dextern.h59 #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 Dcap_fileargs.c329 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 Dcapsicum-freebsd.h37 #define E_NO_TRAVERSE_CAPABILITY ENOTCAPABLE
38 #define E_NO_TRAVERSE_O_BENEATH ENOTCAPABLE
H A Dcapsicum-test.h196 #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 Dsys_capability.c165 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 Dcap_grp.c473 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 Dlibcasper_service.c131 return (ENOTCAPABLE); in casper_limit()
184 return (ENOTCAPABLE); in casper_command()
/freebsd/cddl/lib/libdtrace/
H A Derrno.d218 inline int ENOTCAPABLE = 93; variable
219 #pragma D binding "1.13" ENOTCAPABLE
339 errno == ENOTCAPABLE ? "Capabilities insufficient" :
/freebsd/tools/test/stress2/misc/
H A Dbeneath3.sh87 if (fd != -1 || errno != ENOTCAPABLE)
H A Dbeneath2.sh96 errno != ENOTCAPABLE)
/freebsd/lib/libcasper/services/cap_dns/
H A Dcap_dns.c713 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 Dcap_test.h107 CHECK_SYSCALL_FAILS(ENOTCAPABLE, __VA_ARGS__)
/freebsd/sys/sys/
H A Derrno.h176 #define ENOTCAPABLE 93 /* Capabilities insufficient */ macro
/freebsd/lib/libc/nls/
H A Dru_RU.UTF-8.msg191 $ ENOTCAPABLE
H A Dru_RU.KOI8-R.msg191 $ ENOTCAPABLE
H A Duk_UA.UTF-8.msg191 $ ENOTCAPABLE
H A Dja_JP.UTF-8.msg191 $ ENOTCAPABLE
H A Dja_JP.eucJP.msg191 $ ENOTCAPABLE

123