/external/ltp/testcases/kernel/syscalls/access/ |
D | access01.c | 70 {FNAME_R, X_OK, "X_OK", EACCES, 3}, 71 {FNAME_R, W_OK, "W_OK", EACCES, 1}, 72 {FNAME_W, R_OK, "R_OK", EACCES, 1}, 73 {FNAME_W, X_OK, "X_OK", EACCES, 3}, 74 {FNAME_X, R_OK, "R_OK", EACCES, 1}, 75 {FNAME_X, W_OK, "W_OK", EACCES, 1}, 77 {FNAME_R, W_OK|X_OK, "W_OK|X_OK", EACCES, 3}, 78 {FNAME_R, R_OK|X_OK, "R_OK|X_OK", EACCES, 3}, 79 {FNAME_R, R_OK|W_OK, "R_OK|W_OK", EACCES, 1}, 80 {FNAME_R, R_OK|W_OK|X_OK, "R_OK|W_OK|X_OK", EACCES, 3}, [all …]
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 123 SC_DENY(__NR_lstat, EACCES), 126 SC_DENY(__NR_lstat64, EACCES), 129 SC_DENY(__NR_fstat, EACCES), 132 SC_DENY(__NR_fstat64, EACCES), 135 SC_DENY(__NR_open, EACCES), 138 SC_DENY(__NR_openat, EACCES), 141 SC_DENY(__NR_newfstatat, EACCES), 144 SC_DENY(__NR_stat, EACCES), 147 SC_DENY(__NR_stat64, EACCES),
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | bpf_dsl_unittest.cc | 323 return If((uid & 0xf) == 0, Error(EINVAL)).Else(Error(EACCES)); in EvaluateSyscall() 327 return If((gid & 0xf0) == 0xf0, Error(EINVAL)).Else(Error(EACCES)); in EvaluateSyscall() 331 return If((pid & 0xa5) == 0xa0, Error(EINVAL)).Else(Error(EACCES)); in EvaluateSyscall() 344 const int expect_errno = (uid & 0xf) == 0 ? EINVAL : EACCES; in TEST() 349 const int expect_errno = (gid & 0xf0) == 0xf0 ? EINVAL : EACCES; in TEST() 354 const int expect_errno = (pid & 0xa5) == 0xa0 ? EINVAL : EACCES; in TEST() 369 .Else(Error(EACCES)); in EvaluateSyscall() 389 emulator.ExpectErrno(EACCES, FakeSyscall(__NR_setuid, 0x0111)); in TEST() 390 emulator.ExpectErrno(EACCES, FakeSyscall(__NR_setuid, 0x0222)); in TEST() 405 .Default(Error(EACCES)); in EvaluateSyscall() [all …]
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link06.c | 70 EACCES); in main() 72 if (TEST_ERRNO == EACCES) { in main() 78 TEST_ERRNO, EACCES); in main()
|
D | link07.c | 70 "expected -1, errno=%d", TEST_RETURN, EACCES); in main() 72 if (TEST_ERRNO == EACCES) { in main() 78 EACCES); in main()
|
/external/syslinux/gpxe/src/net/80211/ |
D | wpa_psk.c | 61 net80211_deauthenticate ( dev, -EACCES ); in wpa_psk_start() 62 return -EACCES; in wpa_psk_start() 89 return -EACCES; in wpa_psk_step()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget02.c | 54 {&msgkey, MSG_RD, EACCES, 1}, 55 {&msgkey, MSG_WR, EACCES, 1}, 56 {&msgkey, MSG_RW, EACCES, 1}
|
/external/libcxx/test/std/diagnostics/errno/ |
D | cerrno.pass.cpp | 19 #ifndef EACCES 20 #error EACCES not defined 23 #ifndef EACCES 24 #error EACCES not defined
|
/external/e2fsprogs/lib/ext2fs/ |
D | nt_io.c | 270 { ERROR_ACCESS_DENIED, EACCES }, 280 { ERROR_CURRENT_DIRECTORY, EACCES }, 283 { ERROR_LOCK_VIOLATION, EACCES }, 285 { ERROR_NETWORK_ACCESS_DENIED, EACCES }, 288 { ERROR_CANNOT_MAKE, EACCES }, 289 { ERROR_FAIL_I24, EACCES }, 292 { ERROR_DRIVE_LOCKED, EACCES }, 301 { ERROR_SEEK_ON_DEVICE, EACCES }, 303 { ERROR_NOT_LOCKED, EACCES }, 306 { ERROR_LOCK_FAILED, EACCES }, [all …]
|
/external/ltp/testcases/kernel/fs/proc/ |
D | proc01.c | 256 if (errno != EACCES) { in readproc() 285 if (errno != EACCES) { in readproc() 352 if (errno != EACCES) { in readproc() 395 if (errno != EACCES && errno != ESRCH) { in readproc()
|
/external/python/cpython2/Python/ |
D | getcwd.c | 42 errno = EACCES; /* Most likely error */ in getcwd() 69 errno = EACCES; /* Most likely error */ in getcwd()
|
/external/ltp/testcases/kernel/syscalls/unlink/ |
D | unlink08.c | 141 -1, EACCES}, { 143 unsearch_dir_setup, -1, EACCES}, 253 if (Test_cases[ind].exp_errno == EACCES && postest) in setup()
|
/external/ltp/testcases/kernel/syscalls/statfs/ |
D | statfs03.c | 92 if (TEST_ERRNO == EACCES) { in main() 99 strerror(TEST_ERRNO), EACCES); in main()
|
/external/ltp/testcases/kernel/syscalls/fchdir/ |
D | fchdir03.c | 117 } else if (TEST_ERRNO != EACCES) { in main() 119 EACCES, TEST_ERRNO); in main()
|
/external/bison/lib/ |
D | open.c | 127 if (REPLACE_OPEN_DIRECTORY && fd < 0 && errno == EACCES in open() 140 errno = EACCES; in open()
|
/external/ltp/testcases/kernel/syscalls/setpriority/ |
D | setpriority02.c | 61 {PRIO_PROCESS, 0, NEW_PRIO, EACCES, 1}, 62 {PRIO_PGRP, 0, NEW_PRIO, EACCES, 1},
|
/external/curl/src/ |
D | tool_dirhie.c | 54 #ifdef EACCES in show_dir_errno() 55 case EACCES: in show_dir_errno()
|
/external/ltp/testcases/kernel/syscalls/setpgid/ |
D | setpgid03.c | 112 if (rval == -1 && errno == EACCES) { in main() 117 rval, errno, EACCES); in main()
|
/external/ltp/testcases/kernel/syscalls/setuid/ |
D | setuid04.c | 102 if (TEST_ERRNO == EACCES) { in do_master_child() 125 if (TEST_ERRNO == EACCES) { in do_master_child()
|
/external/ltp/testcases/kernel/syscalls/setresuid/ |
D | setresuid04.c | 120 if (TEST_ERRNO == EACCES) { in do_master_child() 146 if (TEST_ERRNO == EACCES) { in do_master_child()
|
/external/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid07.c | 101 if (TEST_ERRNO == EACCES) { in do_master_child() 127 if (TEST_ERRNO == EACCES) { in do_master_child()
|
/external/ltp/testcases/kernel/syscalls/sysctl/ |
D | sysctl03.c | 114 exp_eno = EACCES; in main() 115 exp_enos[0] = EACCES; in main()
|
/external/ltp/testcases/kernel/syscalls/setfsuid/ |
D | setfsuid04.c | 98 if (TEST_ERRNO == EACCES) { in do_master_child() 124 if (TEST_ERRNO == EACCES) { in do_master_child()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | file_lock.c | 105 case EACCES: /* Permission denied */ in file_lock() 177 case EACCES: /* Permission denied */ in record_lock()
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | execveat.c | 344 fail += check_execveat_fail(dot_dfd, "", AT_EMPTY_PATH, EACCES); in run_tests() 346 fail += check_execveat_fail(dot_dfd, "Makefile", 0, EACCES); in run_tests() 347 fail += check_execveat_fail(fd_denatured, "", AT_EMPTY_PATH, EACCES); in run_tests() 349 EACCES); in run_tests()
|