/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 89 if (errno != EPERM) { in test_membarrier_private_expedited_fail() 92 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_fail() 146 if (errno != EPERM) { in test_membarrier_private_expedited_sync_core_fail() 149 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_sync_core_fail()
|
/tools/testing/selftests/nsfs/ |
D | owner.c | 78 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main() 84 if (ioctl(ns, NS_GET_USERNS) >= 0 || errno != EPERM) in main() 86 if (ioctl(init_uns, NS_GET_USERNS) >= 0 || errno != EPERM) in main()
|
D | pidns.c | 72 if (ioctl(pns, NS_GET_PARENT) >= 0 || errno != EPERM) in main()
|
/tools/include/uapi/asm-generic/ |
D | errno-base.h | 5 #define EPERM 1 /* Operation not permitted */ macro
|
/tools/testing/selftests/landlock/ |
D | ptrace_test.c | 349 EXPECT_EQ(EPERM, errno); in TEST_F() 363 EXPECT_EQ(EPERM, errno); in TEST_F() 421 EXPECT_EQ(EPERM, errno); in TEST_F()
|
D | base_test.c | 214 ASSERT_EQ(EPERM, errno); in TEST() 216 ASSERT_EQ(EPERM, errno); in TEST() 218 ASSERT_EQ(EPERM, errno); in TEST()
|
/tools/testing/selftests/tmpfs/ |
D | bug-link-o-tmpfile.c | 31 if (errno == ENOSYS || errno == EPERM) { in main()
|
/tools/testing/selftests/exec/ |
D | recursion-depth.c | 30 if (errno == ENOSYS || errno == EPERM) { in main()
|
D | non-regular.c | 105 if (errno == EPERM) in setup_node()
|
/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 31 if (errno == ENOSYS || errno == EPERM) in main()
|
D | setns-dcache.c | 55 if (errno == ENOSYS || errno == EPERM) { in main()
|
D | setns-sysvipc.c | 54 if (errno == ENOSYS || errno == EPERM) { in main()
|
D | proc-subset-pid.c | 43 if (errno == ENOSYS || errno == EPERM) { in make_private_proc()
|
/tools/testing/selftests/timens/ |
D | timens.h | 57 if (errno == EPERM) in unshare_timens()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt_sk.c | 67 if (!err || errno != EPERM) { in getsetsockopt() 181 if (errno != EPERM) { in getsetsockopt()
|
D | test_lsm.c | 78 if (!ASSERT_EQ(errno, EPERM, "stack_mprotect")) in test_lsm()
|
D | ringbuf.c | 117 ASSERT_EQ(err, -EPERM, "wr_prod_pos_err"); in test_ringbuf() 123 ASSERT_EQ(err, -EPERM, "wr_data_page_one_err"); in test_ringbuf()
|
D | global_data.c | 121 CHECK(!err || errno != EPERM, "test .rodata read-only map", in test_global_data_rdonly()
|
D | test_local_storage.c | 164 if (CHECK(err != EPERM, "run_self_unlink", "err %d want EPERM\n", err)) in test_test_local_storage()
|
/tools/testing/selftests/kmod/ |
D | kmod.sh | 170 -EPERM) 190 echo -EPERM;;
|
/tools/testing/selftests/clone3/ |
D | clone3_cap_checkpoint_restore.c | 175 ASSERT_EQ(test_clone3_set_tid(_metadata, set_tid, 1), -EPERM); in TEST()
|
/tools/testing/selftests/capabilities/ |
D | test_execve.c | 285 …ctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != -1 || errno != EPERM) { in do_tests() 302 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_RAW, 0, 0, 0) != -1 || errno != EPERM) { in do_tests()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 166 if (errno == EPERM) { in test_pidfd_send_signal_recycled_pid_fail() 177 if (errno == EPERM) { in test_pidfd_send_signal_recycled_pid_fail()
|
D | pidfd_getfd_test.c | 194 EXPECT_EQ(EPERM, errno); in TEST_F()
|
/tools/testing/selftests/bpf/progs/ |
D | local_storage.c | 65 return -EPERM; in BPF_PROG()
|