Searched refs:EACCES (Results 26 - 50 of 229) sorted by relevance

12345678910

/external/ltp/testcases/kernel/fs/doio/
H A Dfile_lock.c105 case EACCES: /* Permission denied */
177 case EACCES: /* Permission denied */
/external/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod07.c27 * 2) mknod(2) returns -1 and sets errno to EACCES if parent directory
73 { "testdir_1/tnode_1", SOCKET_MODE, EACCES },
74 { "testdir_1/tnode_2", FIFO_MODE, EACCES },
/external/ltp/testcases/kernel/syscalls/setfsuid/
H A Dsetfsuid04.c98 if (TEST_ERRNO == EACCES) {
124 if (TEST_ERRNO == EACCES) {
/external/ltp/testcases/kernel/syscalls/setresuid/
H A Dsetresuid04.c120 if (TEST_ERRNO == EACCES) {
121 printf("open failed with EACCES as expected\n");
146 if (TEST_ERRNO == EACCES) {
147 printf("open failed with EACCES as expected\n");
/external/ltp/testcases/kernel/syscalls/setreuid/
H A Dsetreuid07.c101 if (TEST_ERRNO == EACCES) {
102 printf("open failed with EACCES as expected\n");
127 if (TEST_ERRNO == EACCES) {
128 printf("open failed with EACCES as expected\n");
/external/ltp/testcases/kernel/syscalls/sysctl/
H A Dsysctl03.c114 exp_eno = EACCES;
115 exp_enos[0] = EACCES;
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/errno_h/
H A D3-2.c27 EACCES, "EACCES", EACCES}, {
H A D4-1.c22 EACCES, "EACCES"}, {
/external/autotest/client/site_tests/security_DeviceJail_Lockdown/
H A Dsecurity_DeviceJail_Lockdown.py75 if e.errno != errno.EACCES:
/external/libcxx/test/std/diagnostics/errno/
H A Dcerrno.pass.cpp19 #ifndef EACCES
20 #error EACCES not defined
23 #ifndef EACCES
24 #error EACCES not defined
/external/libnl/lib/
H A Derror.c100 case EACCES: return NLE_NOACCESS;
/external/ltp/testcases/kernel/fs/proc/
H A Dproc01.c256 if (errno != EACCES) {
285 if (errno != EACCES) {
352 if (errno != EACCES) {
395 if (errno != EACCES && errno != ESRCH) {
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
H A Dhugeshmat03.c25 * hugeshmat03 - test for EACCES error
35 * issue a PASS message if we get EACCES
121 if (errno == EACCES)
125 "- expect errno=EACCES, got");
/external/ltp/testcases/kernel/syscalls/chroot/
H A Dchroot04.c25 * Testcase to check that chroot sets errno to EACCES.
29 * chroot() call should fail with EACCES
82 else if (TEST_ERRNO == EACCES)
86 "did not get EACCES as expected");
/external/ltp/testcases/kernel/syscalls/creat/
H A Dcreat04.c21 * Testcase to check creat(2) fails with EACCES
57 if (TEST_ERRNO != EACCES) {
58 tst_res(TFAIL | TTERRNO, "Expected EACCES");
62 tst_res(TPASS, "call failed with EACCES as expected");
/external/ltp/testcases/kernel/syscalls/execve/
H A Dexecve02.c26 * errno should be EACCES.
67 if (TEST_ERRNO != EACCES) {
/external/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl04.c61 if (TEST_ERRNO == EACCES) {
67 "Mounting RO device RW failed unexpectedly expected EACCES");
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl02.c25 * semctl02 - test for EACCES error
32 * issue a PASS message if we get EACCES
95 case EACCES:
/external/ltp/testcases/kernel/syscalls/ipc/semget/
H A Dsemget02.c25 * semget02 - test for EACCES and EEXIST errors
32 * issue a PASS message if we get EACCES or EEXIST
68 /* EACCES - the semaphore has no read or alter permissions */
70 SEM_RA, EACCES},
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
H A Dshmat03.c25 * shmat03 - test for EACCES error
35 * issue a PASS message if we get EACCES
135 case EACCES:
/external/ltp/testcases/kernel/syscalls/ipc/shmget/
H A Dshmget05.c25 * shmget05 - test for EACCES error
35 * issue a PASS message if we get EACCES
134 case EACCES:
/external/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap06.c29 * mmap() should fail returning -1 and errno should get set to EACCES.
92 if (TEST_ERRNO == EACCES) {
93 tst_resm(TPASS, "mmap failed with EACCES");
H A Dmmap07.c30 * mmap() should fail returning -1 and errno should get set to EACCES.
93 if (TEST_ERRNO == EACCES) {
94 tst_resm(TPASS, "mmap failed with EACCES");
/external/ltp/testcases/kernel/syscalls/mq_unlink/
H A Dmq_unlink01.c52 .err = EACCES,
/external/ltp/testcases/kernel/syscalls/open/
H A Dopen05.c22 * Testcase to check open(2) sets errno to EACCES correctly.
26 * Attempt to open it as ltpuser(1). The attempt should fail with EACCES.
82 if (TEST_ERRNO != EACCES) {
84 tst_resm(TFAIL, "Expected EACCES got %d",
88 "EACCES error");

Completed in 1519 milliseconds

12345678910