/external/ltp/testcases/kernel/syscalls/utimensat/ |
D | utimensat_tests.sh | 38 imaccess=EPERM 364 run_test -RW root 400 "" "0 n 0 o" EPERM 367 run_test -RW root 400 "" "0 o 0 n" EPERM 370 run_test -RW root 400 "" "1 1 1 1" EPERM 388 run_test root 666 "" "0 n 0 o" EPERM 391 run_test root 666 "" "0 o 0 n" EPERM 394 run_test root 666 "" "1 1 1 1" EPERM 412 run_test "" 600 "+a" "0 n 0 o" EPERM 415 run_test "" 600 "+a" "0 o 0 n" EPERM 418 run_test "" 600 "+a" "1 1 1 1" EPERM [all …]
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_process_unittest.cc | 62 new BrokerProcess(EPERM, permissions)); in TEST() 73 BrokerProcess open_broker(EPERM, empty); in TEST() 220 TestOpenFilePerms(true /* fast_check_in_client */, EPERM); in TEST() 226 TestOpenFilePerms(false /* fast_check_in_client */, EPERM); in TEST() 256 new BrokerProcess(EPERM, permissions, fast_check_in_client)); in TestBadPaths() 267 ASSERT_EQ(can_access, -EPERM); in TestBadPaths() 269 ASSERT_EQ(fd, -EPERM); in TestBadPaths() 272 ASSERT_EQ(can_access, -EPERM); in TestBadPaths() 274 ASSERT_EQ(fd, -EPERM); in TestBadPaths() 277 ASSERT_EQ(can_access, -EPERM); in TestBadPaths() [all …]
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | bpf_dsl_unittest.cc | 123 return If(pid == 0, Error(EPERM)).Else(Error(EINVAL)); in EvaluateSyscall() 139 emulator.ExpectErrno(EPERM, FakeSyscall(__NR_getpgid, 0)); in TEST() 158 Error(EPERM)) in EvaluateSyscall() 175 EPERM, FakeSyscall(__NR_socketpair, AF_UNIX, SOCK_STREAM, 0, kFakeSV)); in TEST() 177 EPERM, FakeSyscall(__NR_socketpair, AF_UNIX, SOCK_DGRAM, 0, kFakeSV)); in TEST() 201 return If(AnyOf(ruid == 0, euid == 0, suid == 0), Error(EPERM)) in EvaluateSyscall() 217 emulator.ExpectErrno(EPERM, FakeSyscall(__NR_setresuid, 0, 5, 5)); in TEST() 218 emulator.ExpectErrno(EPERM, FakeSyscall(__NR_setresuid, 5, 0, 5)); in TEST() 219 emulator.ExpectErrno(EPERM, FakeSyscall(__NR_setresuid, 5, 5, 0)); in TEST() 241 return If(addr == kDeadBeefAddr, Error(EPERM)).Else(Allow()); in EvaluateSyscall() [all …]
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_filesystem_test.c | 182 errno == EPERM) in main() 210 errno == EPERM) in main() 310 errno == EPERM) in main() 320 == EOF && errno == EPERM) in main() 329 errno == EPERM) in main() 384 == EOF && errno == EPERM) in main() 390 && errno == EPERM) in main() 408 NULL) == EOF && errno == EPERM) in main() 417 NULL) == EOF && errno == EPERM) in main() 490 if (umount("/tmp/mount/") == EOF && errno == EPERM) in main() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
D | 6-1.c | 48 if (errno == EPERM) in set_nonroot() 57 if (errno == EPERM) in set_nonroot() 91 if (result == -1 && errno == EPERM) { in main() 99 if (errno != EPERM) { in main()
|
/external/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid02.c | 59 &neg_one, &root.gr_gid, EPERM, <pgroup, <pgroup, 61 &neg_one, &bin.gr_gid, EPERM, <pgroup, <pgroup, 63 &root.gr_gid, &neg_one, EPERM, <pgroup, <pgroup, 65 &bin.gr_gid, &neg_one, EPERM, <pgroup, <pgroup, 67 &root.gr_gid, &bin.gr_gid, EPERM, <pgroup, <pgroup, 69 &bin.gr_gid, &root.gr_gid, EPERM, <pgroup, <pgroup,
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | baseline_policy.cc | 159 return Error(EPERM); in EvaluateSyscallImpl() 167 return Error(EPERM); in EvaluateSyscallImpl() 175 return If(advice == MADV_DONTNEED, Allow()).Else(Error(EPERM)); in EvaluateSyscallImpl() 216 return Error(EPERM); in EvaluateSyscallImpl() 219 return Error(EPERM); in EvaluateSyscallImpl() 226 return Error(EPERM); in EvaluateSyscallImpl() 258 BaselinePolicy::BaselinePolicy() : BaselinePolicy(EPERM) {} in BaselinePolicy()
|
D | baseline_policy_unittest.cc | 88 BPF_ASSERT_EQ(EPERM, errno); in BPF_TEST_C() 98 BPF_ASSERT_EQ(EPERM, fork_errno); in BPF_TEST_C() 114 BPF_ASSERT_EQ(EPERM, fork_errno); in BPF_TEST_C() 130 BPF_ASSERT_EQ(EPERM, fork_errno); in BPF_TEST_C() 187 BPF_ASSERT_EQ(EPERM, errno); in BPF_TEST_C() 194 BPF_ASSERT_EQ(EPERM, errno); in BPF_TEST_C() 202 BPF_ASSERT_EQ(EPERM, errno); in BPF_TEST_C() 322 BPF_ASSERT_EQ(EPERM, errno); in BPF_TEST_C() 333 BPF_ASSERT_EQ(EPERM, errno); in BPF_TEST_C()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/ |
D | 7-1.c | 40 if (errno == EPERM) { in set_nonroot() 71 if (result == -1 && errno == EPERM) { in main() 79 if (errno != EPERM) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 26-1.c | 39 if (errno == EPERM) { in set_nonroot() 75 if (result == -1 && errno == EPERM) { in main() 78 } else if (errno != EPERM) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
D | 20-1.c | 46 if (errno == EPERM) { in set_nonroot() 79 if (result == -1 && errno == EPERM) { in main() 82 } else if (errno != EPERM) { in main()
|
/external/ltp/testcases/kernel/syscalls/setegid/ |
D | setegid02.c | 76 if (TEST_ERRNO == EPERM) { in setegid_verify() 81 EPERM, strerror(EPERM)); in setegid_verify()
|
/external/ltp/testcases/kernel/syscalls/stime/ |
D | stime02.c | 111 if (TEST_ERRNO == EPERM) { in main() 117 TEST_ERRNO, EPERM); in main() 121 "errno:%d", TEST_RETURN, EPERM); in main()
|
/external/strace/tests-mx32/ |
D | caps.c | 74 if (capset(head, tail_data) == 0 || errno != EPERM) in main() 78 if (capset(head, tail_data) == 0 || errno != EPERM) in main() 84 errno != EPERM) in main()
|
/external/strace/tests-m32/ |
D | caps.c | 74 if (capset(head, tail_data) == 0 || errno != EPERM) in main() 78 if (capset(head, tail_data) == 0 || errno != EPERM) in main() 84 errno != EPERM) in main()
|
/external/strace/tests/ |
D | caps.c | 74 if (capset(head, tail_data) == 0 || errno != EPERM) in main() 78 if (capset(head, tail_data) == 0 || errno != EPERM) in main() 84 errno != EPERM) in main()
|
/external/linux-kselftest/tools/testing/selftests/nsfs/ |
D | owner.c | 77 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main() 83 if (ioctl(ns, NS_GET_USERNS) >= 0 || errno != EPERM) in main() 85 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main()
|
/external/valgrind/helgrind/tests/ |
D | tc20_verifywrap.stderr.exp-solaris | 61 with error code 1 (EPERM: Operation not permitted) 69 with error code 1 (EPERM: Operation not permitted) 77 with error code 1 (EPERM: Operation not permitted) 92 with error code 1 (EPERM: Operation not permitted) 110 with error code 1 (EPERM: Operation not permitted) 145 with error code 1 (EPERM: Operation not permitted) 171 with error code 1 (EPERM: Operation not permitted) 198 with error code 1 (EPERM: Operation not permitted) 227 with error code 1 (EPERM: Operation not permitted)
|
/external/ltp/testcases/kernel/syscalls/setxattr/ |
D | setxattr02.c | 118 .exp_err = EPERM, 126 .exp_err = EPERM, 134 .exp_err = EPERM, 142 .exp_err = EPERM,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getcpuclockid/ |
D | 5-1.c | 55 } else if (error != EPERM) { in main() 57 "error (%d != %d)\n", EPERM, error); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
D | 3-1.c | 47 if (errno == EPERM) { in set_nonroot() 83 if (EPERM != errno) { in main()
|
D | 12-1.c | 44 if (errno == EPERM) { in set_nonroot() 75 if (EPERM == errno) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlockall/ |
D | 5-1.c | 40 } else if (errno == EPERM) { in main() 69 } else if (errno == EPERM) { in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/ |
D | unlock.pass.cpp | 47 assert(e.code().value() == EPERM); in main() 59 assert(e.code().value() == EPERM); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | unlock.pass.cpp | 48 assert(e.code().value() == EPERM); in main() 60 assert(e.code().value() == EPERM); in main()
|