/freebsd/contrib/pjdfstest/tests/open/ |
H A D | 06.t | 39 expect EACCES -u 65534 -g 65534 open ${n1} O_WRONLY, 40 expect EACCES -u 65534 -g 65534 open ${n1} O_RDWR, 43 expect EACCES -u 65533 -g 65534 open ${n1} O_WRONLY, 44 expect EACCES -u 65533 -g 65534 open ${n1} O_RDWR, 47 expect EACCES -u 65533 -g 65533 open ${n1} O_WRONLY, 48 expect EACCES -u 65533 -g 65533 open ${n1} O_RDWR, 51 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY, 53 expect EACCES -u 65534 -g 65534 open ${n1} O_RDWR, 55 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY, 57 expect EACCES -u 65533 -g 65534 open ${n1} O_RDWR, [all …]
|
H A D | 07.t | 23 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC 25 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC 27 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC 30 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC 32 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC 34 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC 37 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC 39 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC 41 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC
|
/freebsd/tools/regression/priv/ |
H A D | priv_vfs_read_write.c | 143 asroot, injail, O_RDONLY, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fowner() 145 asroot, injail, O_WRONLY, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fowner() 147 asroot, injail, O_RDWR, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fowner() 152 asroot, injail, O_WRONLY, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fowner() 154 asroot, injail, O_RDWR, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fowner() 157 asroot, injail, O_RDONLY, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fowner() 161 asroot, injail, O_RDWR, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fowner() 176 asroot, injail, O_RDONLY, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fgroup() 178 asroot, injail, O_WRONLY, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fgroup() 180 asroot, injail, O_RDWR, asroot ? 0 : -1, EACCES); in priv_vfs_readwrite_fgroup() [all …]
|
H A D | priv_sched_setpriority.c | 101 error, -1, EACCES); in priv_sched_setpriority_curproc() 107 error, -1, EACCES); in priv_sched_setpriority_curproc() 110 error, -1, EACCES); in priv_sched_setpriority_curproc() 121 error, -1, EACCES); in priv_sched_setpriority_myproc() 127 error, -1, EACCES); in priv_sched_setpriority_myproc() 130 error, -1, EACCES); in priv_sched_setpriority_myproc() 141 error, -1, EACCES); in priv_sched_setpriority_aproc() 147 error, -1, EACCES); in priv_sched_setpriority_aproc() 150 error, -1, EACCES); in priv_sched_setpriority_aproc()
|
/freebsd/contrib/pjdfstest/tests/granular/ |
H A D | 00.t | 50 expect EACCES -u 65534 -g 65534 mkdir ${n0} 0755 67 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 70 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 78 expect EACCES -u 65534 -g 65534 create ${n0} 0644 82 expect EACCES -u 65534 -g 65534 link ${n0} ${n1} 84 expect EACCES -u 65534 -g 65534 unlink ${n0} 89 expect EACCES -u 65534 -g 65534 rmdir ${n0} 94 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 97 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0} 106 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n1} ${n0}
|
H A D | 03.t | 26 expect EACCES -u 65534 -g 65534 unlink ${n0} 33 expect EACCES -u 65534 -g 65534 rename ${n0} ../${n3}/${n0} 46 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0} 105 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0} 120 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0} 124 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0} 128 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0}
|
H A D | 05.t | 26 expect EACCES -u 65534 -g 65534 rmdir ${n0} 33 expect EACCES -u 65534 -g 65534 rename ${n0} ../${n3}/${n0} 39 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0} 49 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0} 85 expect EACCES -u 65534 -g 65534 rename ../${n3}/${n0} ${n0}
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | fs_test.c | 625 { 0000, atf_fs_access_r, EACCES, 0 }, in ATF_TC_BODY() 626 { 0000, atf_fs_access_w, EACCES, 0 }, in ATF_TC_BODY() 627 { 0000, atf_fs_access_x, EACCES, EACCES }, in ATF_TC_BODY() 629 { 0001, atf_fs_access_r, EACCES, 0 }, in ATF_TC_BODY() 630 { 0001, atf_fs_access_w, EACCES, 0 }, in ATF_TC_BODY() 631 { 0001, atf_fs_access_x, EACCES, 0 }, in ATF_TC_BODY() 632 { 0002, atf_fs_access_r, EACCES, 0 }, in ATF_TC_BODY() 633 { 0002, atf_fs_access_w, EACCES, 0 }, in ATF_TC_BODY() 634 { 0002, atf_fs_access_x, EACCES, EACCES }, in ATF_TC_BODY() 635 { 0004, atf_fs_access_r, EACCES, 0 }, in ATF_TC_BODY() [all …]
|
/freebsd/sys/security/mac_biba/ |
H A D | mac_biba.c | 786 return (EACCES); in biba_bpfdesc_check_receive() 1052 return (biba_effective_in_range(p, i) ? 0 : EACCES); in biba_ifnet_check_transmit() 1148 return (biba_equal_effective(p, i) ? 0 : EACCES); in biba_inpcb_check_deliver() 1317 return (EACCES); in biba_kld_check_load() 1335 return (EACCES); in biba_mount_check_stat() 1458 return (EACCES); in biba_pipe_check_poll() 1476 return (EACCES); in biba_pipe_check_read() 1545 return (EACCES); in biba_pipe_check_stat() 1563 return (EACCES); in biba_pipe_check_write() 1605 return (EACCES); in biba_posixsem_check_openunlink() [all …]
|
/freebsd/sys/security/mac_mls/ |
H A D | mac_mls.c | 752 return (EACCES); in mls_bpfdesc_check_receive() 1014 return (mls_effective_in_range(p, i) ? 0 : EACCES); in mls_ifnet_check_transmit() 1070 return (mls_equal_effective(p, i) ? 0 : EACCES); in mls_inpcb_check_deliver() 1232 return (EACCES); in mls_mount_check_stat() 1354 return (EACCES); in mls_pipe_check_poll() 1372 return (EACCES); in mls_pipe_check_read() 1441 return (EACCES); in mls_pipe_check_stat() 1459 return (EACCES); in mls_pipe_check_write() 1501 return (EACCES); in mls_posixsem_check_openunlink() 1519 return (EACCES); in mls_posixsem_check_rdonly() [all …]
|
/freebsd/crypto/openssh/ |
H A D | sandbox-seccomp-filter.c | 216 SC_DENY(__NR_lstat, EACCES), 219 SC_DENY(__NR_lstat64, EACCES), 222 SC_DENY(__NR_fstat, EACCES), 225 SC_DENY(__NR_fstat64, EACCES), 228 SC_DENY(__NR_fstatat64, EACCES), 231 SC_DENY(__NR_open, EACCES), 234 SC_DENY(__NR_openat, EACCES), 237 SC_DENY(__NR_newfstatat, EACCES), 240 SC_DENY(__NR_stat, EACCES), 243 SC_DENY(__NR_stat64, EACCES), [all …]
|
/freebsd/sys/security/mac_ddb/ |
H A D | mac_ddb.c | 123 return (EACCES); in db_thread_valid() 139 return (EACCES); in db_show_ffs_valid() 158 return (EACCES); in db_show_prison_valid() 179 return (EACCES); in db_show_proc_valid() 192 return (EACCES); in db_show_rman_valid() 209 return (EACCES); in db_show_vnet_valid() 330 return (EACCES); in mac_ddb_command_register() 347 return (EACCES); in mac_ddb_command_exec() 358 return (EACCES); in mac_ddb_check_backend()
|
/freebsd/tests/sys/vm/ |
H A D | mmap_test.c | 189 checked_mmap(PROT_READ | PROT_WRITE, MAP_SHARED, zerofd, EACCES, in ATF_TC_BODY() 311 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 313 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 315 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 340 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 342 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 344 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 354 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 356 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY() 358 ATF_REQUIRE_ERRNO(EACCES, error == -1); in ATF_TC_BODY()
|
/freebsd/contrib/libfido2/fuzz/ |
H A D | preload-fuzz.c | 48 errno = EACCES; in open() 58 errno = EACCES; in open() 64 errno = EACCES; in open() 78 errno = EACCES; in close()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | test_acl.c | 55 RETVAL(context, ret, EACCES, "too many strings"); in test_match_string() 63 RETVAL(context, ret, EACCES, "one string, two format strings"); in test_match_string() 65 RETVAL(context, ret, EACCES, "one string, two format strings (same)"); in test_match_string() 78 RETVAL(context, ret, EACCES, "foo/*.example.com"); in test_match_string() 93 RETVAL(context, ret, EACCES, "ret mismatch"); in test_match_string()
|
H A D | kuserok.c | 72 return EACCES; in check_one_file() 76 return EACCES; in check_one_file() 130 return EACCES; in check_directory() 132 return EACCES; in check_directory() 148 return EACCES; in check_directory()
|
H A D | acl.c | 223 krb5_set_error_message(context, EACCES, N_("ACL did not match", "")); in krb5_acl_match_string() 224 return EACCES; in krb5_acl_match_string() 292 krb5_set_error_message(context, EACCES, N_("ACL did not match", "")); in krb5_acl_match_file() 293 return EACCES; in krb5_acl_match_file()
|
/freebsd/contrib/pjdfstest/tests/link/ |
H A D | 06.t | 32 expect EACCES -u 65534 -g 65534 link ${n1}/${n3} ${n1}/${n4} 33 expect EACCES -u 65534 -g 65534 link ${n1}/${n3} ${n2}/${n4} 37 expect EACCES -u 65534 -g 65534 link ${n1}/${n3} ${n2}/${n4}
|
/freebsd/contrib/pjdfstest/tests/rename/ |
H A D | 04.t | 32 expect EACCES -u 65534 -g 65534 rename ${n1}/${n3} ${n1}/${n4} 33 expect EACCES -u 65534 -g 65534 rename ${n1}/${n3} ${n2}/${n4} 37 expect EACCES -u 65534 -g 65534 rename ${n1}/${n3} ${n2}/${n4}
|
/freebsd/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 892 return (EACCES); in lomac_bpfdesc_check_receive() 1176 return (lomac_single_in_range(p, i) ? 0 : EACCES); in lomac_ifnet_check_transmit() 1273 return (lomac_equal_single(p, i) ? 0 : EACCES); in lomac_inpcb_check_deliver() 1438 return (EACCES); in lomac_kld_check_load() 1629 return (EACCES); in lomac_pipe_check_write() 1862 return (EACCES); in lomac_proc_check_debug() 1882 return (EACCES); in lomac_proc_check_sched() 1902 return (EACCES); in lomac_proc_check_signal() 1939 error = lomac_equal_single(p, s) ? 0 : EACCES; in lomac_socket_check_deliver() 2145 return (EACCES); in lomac_system_check_acct() [all …]
|
/freebsd/contrib/elftoolchain/libpe/ |
H A D | pe_coff.c | 81 errno = EACCES; in pe_update_coff_header() 113 errno = EACCES; in pe_update_opt_header() 141 errno = EACCES; in pe_update_data_dir()
|
/freebsd/tools/test/stress2/misc/ |
H A D | nfsdepth.sh | 107 if (r == -1 && errno == EACCES && n < 10) { 124 if (r == -1 && errno == EACCES && n < 10) { 156 if (r == -1 && errno == EACCES && n < 10) { 168 if (r == -1 && errno == EACCES && n < 10) {
|
/freebsd/contrib/pjdfstest/tests/truncate/ |
H A D | 06.t | 19 expect EACCES -u 65534 -g 65534 truncate ${n1} 123 22 expect EACCES -u 65534 -g 65534 truncate ${n1} 123
|
/freebsd/contrib/pjdfstest/tests/ftruncate/ |
H A D | 06.t | 19 expect EACCES -u 65534 -g 65534 truncate ${n1} 123 22 expect EACCES -u 65534 -g 65534 truncate ${n1} 123
|
/freebsd/sys/dev/sfxge/common/ |
H A D | hunt_nic.c | 127 if ((rc == 0) || (rc == EACCES)) in hunt_board_cfg() 142 } else if (rc == EACCES) { in hunt_board_cfg() 180 } else if (rc == EACCES) { in hunt_board_cfg()
|