Home
last modified time | relevance | path

Searched refs:EACCES (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c70 {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/
Dsandbox-seccomp-filter.c123 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/
Dbpf_dsl_unittest.cc323 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/
Dlink06.c70 EACCES); in main()
72 if (TEST_ERRNO == EACCES) { in main()
78 TEST_ERRNO, EACCES); in main()
Dlink07.c70 "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/
Dwpa_psk.c61 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/
Dmsgget02.c54 {&msgkey, MSG_RD, EACCES, 1},
55 {&msgkey, MSG_WR, EACCES, 1},
56 {&msgkey, MSG_RW, EACCES, 1}
/external/libcxx/test/std/diagnostics/errno/
Dcerrno.pass.cpp19 #ifndef EACCES
20 #error EACCES not defined
23 #ifndef EACCES
24 #error EACCES not defined
/external/e2fsprogs/lib/ext2fs/
Dnt_io.c270 { 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/
Dproc01.c256 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/
Dgetcwd.c42 errno = EACCES; /* Most likely error */ in getcwd()
69 errno = EACCES; /* Most likely error */ in getcwd()
/external/ltp/testcases/kernel/syscalls/unlink/
Dunlink08.c141 -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/
Dstatfs03.c92 if (TEST_ERRNO == EACCES) { in main()
99 strerror(TEST_ERRNO), EACCES); in main()
/external/ltp/testcases/kernel/syscalls/fchdir/
Dfchdir03.c117 } else if (TEST_ERRNO != EACCES) { in main()
119 EACCES, TEST_ERRNO); in main()
/external/bison/lib/
Dopen.c127 if (REPLACE_OPEN_DIRECTORY && fd < 0 && errno == EACCES in open()
140 errno = EACCES; in open()
/external/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority02.c61 {PRIO_PROCESS, 0, NEW_PRIO, EACCES, 1},
62 {PRIO_PGRP, 0, NEW_PRIO, EACCES, 1},
/external/curl/src/
Dtool_dirhie.c54 #ifdef EACCES in show_dir_errno()
55 case EACCES: in show_dir_errno()
/external/ltp/testcases/kernel/syscalls/setpgid/
Dsetpgid03.c112 if (rval == -1 && errno == EACCES) { in main()
117 rval, errno, EACCES); in main()
/external/ltp/testcases/kernel/syscalls/setuid/
Dsetuid04.c102 if (TEST_ERRNO == EACCES) { in do_master_child()
125 if (TEST_ERRNO == EACCES) { in do_master_child()
/external/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid04.c120 if (TEST_ERRNO == EACCES) { in do_master_child()
146 if (TEST_ERRNO == EACCES) { in do_master_child()
/external/ltp/testcases/kernel/syscalls/setreuid/
Dsetreuid07.c101 if (TEST_ERRNO == EACCES) { in do_master_child()
127 if (TEST_ERRNO == EACCES) { in do_master_child()
/external/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl03.c114 exp_eno = EACCES; in main()
115 exp_enos[0] = EACCES; in main()
/external/ltp/testcases/kernel/syscalls/setfsuid/
Dsetfsuid04.c98 if (TEST_ERRNO == EACCES) { in do_master_child()
124 if (TEST_ERRNO == EACCES) { in do_master_child()
/external/ltp/testcases/kernel/fs/doio/
Dfile_lock.c105 case EACCES: /* Permission denied */ in file_lock()
177 case EACCES: /* Permission denied */ in record_lock()
/external/linux-kselftest/tools/testing/selftests/exec/
Dexecveat.c344 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()

12345678910