/tools/testing/selftests/capabilities/ |
D | test_execve.c | 43 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno)); in vmaybe_write_file() 54 filename, strerror(errno)); in vmaybe_write_file() 62 filename, strerror(errno)); in vmaybe_write_file() 67 filename, strerror(errno)); in vmaybe_write_file() 107 strerror(errno)); in create_and_enter_ns() 109 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno)); in create_and_enter_ns() 118 "capng_apply - %s\n", strerror(errno)); in create_and_enter_ns() 134 strerror(errno)); in create_and_enter_ns() 143 ksft_exit_fail_msg("getcwd - %s\n", strerror(errno)); in chdir_to_tmpfs() 147 strerror(errno)); in chdir_to_tmpfs() [all …]
|
/tools/testing/selftests/mount/ |
D | nosymfollow-test.c | 50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file() 59 die("open of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 68 filename, strerror(errno)); in vmaybe_write_file() 73 die("close of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 100 die("unshare(CLONE_NEWUSER) failed: %s\n", strerror(errno)); in create_and_enter_ns() 107 die("setgid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() 109 die("setuid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() 112 die("unshare(CLONE_NEWNS) failed: %s\n", strerror(errno)); in create_and_enter_ns() 121 die("creat failed: %s\n", strerror(errno)); in setup_symlink() 125 die("symlink failed: %s\n", strerror(errno)); in setup_symlink() [all …]
|
D | unprivileged-remount-test.c | 67 strerror(errno)); in vmaybe_write_file() 78 filename, strerror(errno)); in vmaybe_write_file() 86 filename, strerror(errno)); in vmaybe_write_file() 91 filename, strerror(errno)); in vmaybe_write_file() 124 path, strerror(errno)); in read_mnt_flags() 164 strerror(errno)); in create_and_enter_userns() 173 strerror(errno)); in create_and_enter_userns() 177 strerror(errno)); in create_and_enter_userns() 190 strerror(errno)); in test_unpriv_remount() 198 strerror(errno)); in test_unpriv_remount() [all …]
|
/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 32 strerror(errno)); in child() 38 strerror(errno)); in child() 43 ksft_print_msg("raise(SIGSTOP) failed: %s\n", strerror(errno)); in child() 57 ksft_print_msg("fork() failed: %s\n", strerror(errno)); in run_test() 65 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); in run_test() 69 ksft_print_msg("child did not stop: %s\n", strerror(errno)); in run_test() 74 strerror(errno)); in run_test() 82 strerror(errno)); in run_test() 86 strerror(errno)); in run_test() 92 ksft_print_msg("waitpid() failed: $s\n", strerror(errno)); in run_test() [all …]
|
D | breakpoint_test_arm64.c | 40 strerror(errno)); in child() 46 "raise(SIGSTOP) failed: %s\n", strerror(errno)); in child() 53 strerror(errno)); in child() 104 strerror(errno)); in set_watchpoint() 108 strerror(errno)); in set_watchpoint() 121 "fork() failed: %s\n", strerror(errno)); in run_test() 130 "waitpid() failed: %s\n", strerror(errno)); in run_test() 135 "child did not stop: %s\n", strerror(errno)); in run_test() 149 strerror(errno)); in run_test() 157 "waitpid() failed: %s\n", strerror(errno)); in run_test() [all …]
|
/tools/perf/arch/x86/tests/ |
D | bp-modify.c | 84 strerror(errno)); in bp_modify1() 91 strerror(errno)); in bp_modify1() 97 pr_debug("failed to set dr7: %s\n", strerror(errno)); in bp_modify1() 102 pr_debug("failed to PTRACE_CONT: %s\n", strerror(errno)); in bp_modify1() 116 strerror(errno)); in bp_modify1() 124 pr_debug("failed to PTRACE_DETACH: %s", strerror(errno)); in bp_modify1() 161 strerror(errno)); in bp_modify2() 167 pr_debug("failed to set dr7: %s\n", strerror(errno)); in bp_modify2() 178 pr_debug("failed to PTRACE_CONT: %s\n", strerror(errno)); in bp_modify2() 192 strerror(errno)); in bp_modify2() [all …]
|
/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 46 strerror(errno)); in change_mountns() 52 strerror(errno)); in change_mountns() 73 strerror(errno)); in __do_binderfs_test() 81 TH_LOG("%s - Failed to mount binderfs", strerror(errno)); in __do_binderfs_test() 93 strerror(errno)); in __do_binderfs_test() 103 strerror(errno)); in __do_binderfs_test() 116 strerror(errno)); in __do_binderfs_test() 126 strerror(errno)); in __do_binderfs_test() 137 strerror(errno)); in __do_binderfs_test() 151 strerror(errno)); in __do_binderfs_test() [all …]
|
/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 58 strerror(errno)); in main() 71 strerror(errno)); in main() 76 strerror(errno)); in main() 82 strerror(errno)); in main() 91 strerror(errno)); in main() 110 strerror(errno)); in main()
|
D | pidfd_getfd_test.c | 48 strerror(errno)); in __child() 55 strerror(errno)); in __child() 74 strerror(errno)); in __child() 85 strerror(errno)); in __child() 91 strerror(errno)); in __child() 105 strerror(errno)); in child() 139 TH_LOG("%s: failed to create socketpair", strerror(errno)); in FIXTURE_SETUP() 228 TH_LOG("%s: getfd did not get EBADF", strerror(errno)); in TEST_F()
|
/tools/testing/selftests/watchdog/ |
D | watchdog-test.c | 120 strerror(errno)); in main() 129 printf("WDIOC_GETSUPPORT error '%s'\n", strerror(errno)); in main() 146 printf("WDIOC_GETBOOTSTATUS error '%s'\n", strerror(errno)); in main() 154 printf("WDIOS_DISABLECARD error '%s'\n", strerror(errno)); in main() 164 printf("WDIOS_ENABLECARD error '%s'\n", strerror(errno)); in main() 180 printf("WDIOC_SETTIMEOUT error '%s'\n", strerror(errno)); in main() 190 printf("WDIOC_GETTIMEOUT error '%s'\n", strerror(errno)); in main() 198 printf("WDIOC_SETPRETIMEOUT error '%s'\n", strerror(errno)); in main() 208 printf("WDIOC_GETPRETIMEOUT error '%s'\n", strerror(errno)); in main() 216 printf("WDIOC_GETTIMELEFT error '%s'\n", strerror(errno)); in main()
|
/tools/testing/selftests/landlock/ |
D | common.h | 123 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _init_caps() 127 TH_LOG("Failed to cap_clear: %s", strerror(errno)); in _init_caps() 133 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _init_caps() 138 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _init_caps() 142 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _init_caps() 167 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _effective_cap() 171 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _effective_cap() 175 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _effective_cap() 179 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _effective_cap()
|
/tools/testing/selftests/bpf/map_tests/ |
D | htab_map_batch_ops.c | 37 CHECK(err, "bpf_map_update_batch()", "error:%s\n", strerror(errno)); in map_batch_update() 101 "bpf_create_map_xattr()", "error:%s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 111 "error:%s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 118 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 127 CHECK(err, "count = 0", "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 136 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 143 CHECK(!err, "bpf_map_get_next_key()", "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 175 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 198 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 209 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() [all …]
|
D | lpm_trie_map_batch_ops.c | 40 CHECK(err, "bpf_map_update_batch()", "error:%s\n", strerror(errno)); in map_batch_update() 88 strerror(errno)); in test_lpm_trie_map_batch_ops() 94 strerror(errno)); in test_lpm_trie_map_batch_ops() 114 "error: %s\n", strerror(errno)); in test_lpm_trie_map_batch_ops() 134 "error: %s\n", strerror(errno)); in test_lpm_trie_map_batch_ops() 145 "error: %s\n", strerror(errno)); in test_lpm_trie_map_batch_ops()
|
/tools/testing/selftests/firmware/ |
D | fw_namespace.c | 46 strerror(errno)); in trigger_fw() 60 strerror(errno)); in setup_fw() 63 strerror(errno)); in setup_fw() 78 strerror(errno)); in test_fw_in_ns() 87 strerror(errno)); in test_fw_in_ns() 103 strerror(errno)); in test_fw_in_ns()
|
/tools/testing/selftests/arm64/fp/ |
D | vec-syscfg.c | 83 errno, strerror(errno)); in get_child_rdvl() 92 errno, strerror(errno)); in get_child_rdvl() 113 data->rdvl_binary, errno, strerror(errno)); in get_child_rdvl() 125 errno, strerror(errno)); in get_child_rdvl() 170 strerror(errno)); in file_read_integer() 189 strerror(errno)); in file_write_integer() 309 data->name, errno, strerror(errno)); in prctl_get() 334 data->name, errno, strerror(errno)); in prctl_set_same() 362 errno, strerror(errno)); in prctl_set() 383 errno, strerror(errno)); in prctl_set() [all …]
|
/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 30 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail() 31 errno, strerror(errno)); in test_membarrier_cmd_fail() 53 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_flags_fail() 54 errno, strerror(errno)); in test_membarrier_flags_fail() 92 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_fail() 93 errno, strerror(errno)); in test_membarrier_private_expedited_fail() 149 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_sync_core_fail() 150 errno, strerror(errno)); in test_membarrier_private_expedited_sync_core_fail()
|
/tools/hv/ |
D | hv_vss_daemon.c | 83 buffer, errno, strerror(errno)); in is_dev_loop() 91 buffer, errno, strerror(errno)); in is_dev_loop() 144 ent->mnt_fsname, errno, strerror(errno)); in vss_operate() 193 errdir, save_errno, strerror(save_errno)); in vss_operate() 196 strerror(save_errno)); in vss_operate() 262 errno, strerror(errno)); in main() 273 errno, strerror(errno)); in main() 285 syslog(LOG_ERR, "poll failed; error:%d %s", errno, strerror(errno)); in main() 310 errno, strerror(errno)); in main() 348 strerror(errno)); in main()
|
D | hv_fcopy_daemon.c | 77 syslog(LOG_INFO, "Open Failed: %s", strerror(errno)); in hv_start_fcopy() 107 filesize, (long)bytes_written, strerror(errno)); in hv_copy_data() 182 syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno)); in main() 199 errno, strerror(errno)); in main() 207 syslog(LOG_ERR, "Registration failed: %s", strerror(errno)); in main() 220 syslog(LOG_ERR, "pread failed: %s", strerror(errno)); in main() 262 syslog(LOG_ERR, "pwrite failed: %s", strerror(errno)); in main()
|
/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 95 fprintf(stderr, "%s - Failed to open uevent socket\n", strerror(errno)); in uevent_listener() 102 fprintf(stderr, "%s - Failed to set socket options\n", strerror(errno)); in uevent_listener() 112 fprintf(stderr, "%s - Failed to bind socket\n", strerror(errno)); in uevent_listener() 118 fprintf(stderr, "%s - Failed to retrieve socket name\n", strerror(errno)); in uevent_listener() 132 strerror(errno)); in uevent_listener() 142 strerror(errno)); in uevent_listener() 160 fprintf(stderr, "%s - Failed to receive uevent\n", strerror(errno)); in uevent_listener() 255 fprintf(stderr, "%s- Failed to block SIGCHLD\n", strerror(errno)); in do_test() 261 fprintf(stderr, "%s - Failed to fork() new process\n", strerror(errno)); in do_test() 278 strerror(errno)); in do_test() [all …]
|
/tools/testing/selftests/vm/ |
D | memfd_secret.c | 93 fail("pipe write: %s\n", strerror(errno)); in try_process_vm_read() 169 fail("pipe failed: %s\n", strerror(errno)); in test_remote_access() 175 fail("fork failed: %s\n", strerror(errno)); in test_remote_access() 194 fail("pipe write: %s\n", strerror(errno)); in test_remote_access() 239 strerror(errno)); in prepare() 243 strerror(errno)); in prepare() 258 strerror(errno)); in prepare() 278 strerror(errno)); in main()
|
/tools/testing/selftests/clone3/ |
D | clone3_clear_sighand.c | 68 strerror(errno)); in test_clone3_clear_sighand() 77 strerror(errno)); in test_clone3_clear_sighand() 84 strerror(errno)); in test_clone3_clear_sighand() 91 strerror(errno)); in test_clone3_clear_sighand()
|
/tools/testing/selftests/sigaltstack/ |
D | sas.c | 63 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in my_usr1() 128 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main() 134 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main() 164 strerror(errno)); in main() 172 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main() 184 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main()
|
/tools/testing/selftests/media_tests/ |
D | video_device_test.c | 75 printf("Video Device open errno %s\n", strerror(errno)); in main() 88 printf("VIDIOC_QUERYCAP errno %s\n", strerror(errno)); in main() 94 printf("VIDIOC_G_TUNER, errno %s\n", strerror(errno)); in main()
|
/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 53 TH_LOG("mmap error: %s", strerror(errno)); in TEST() 97 TH_LOG("mmap error: %s", strerror(errno)); in TEST() 156 TH_LOG("mmap error: %s", strerror(errno)); in TEST() 213 strerror(errno)); in TEST() 222 strerror(errno)); in TEST() 234 TH_LOG("mmap error: %s", strerror(errno)); in TEST() 317 strerror(errno)); in TEST() 323 strerror(errno)); in TEST() 333 TH_LOG("mmap error: %s", strerror(errno)); in TEST()
|
/tools/bpf/bpftool/ |
D | common.c | 135 target, strerror(errno)); in mnt_fs() 142 target, target, strerror(errno)); in mnt_fs() 151 type, type, target, strerror(errno)); in mnt_fs() 190 strerror(errno)); in open_obj_pinned() 271 p_err("can't pin the object (%s): %s", name, strerror(errno)); in do_pin_fd() 318 p_err("can't read link type: %s", strerror(errno)); in get_fd_type() 503 p_err("Can't get # of possible cpus: %s", strerror(-cpus)); in get_possible_cpus() 517 p_err("Can't stat /proc/self: %s", strerror(errno)); in ifindex_to_name_ns() 535 p_err("Can't open %s: %s", path, strerror(errno)); in read_sysfs_hex_int() 542 p_err("Can't read %s: %s", path, strerror(errno)); in read_sysfs_hex_int() [all …]
|