/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 46 strerror(errno)); in change_mountns() 52 strerror(errno)); in change_mountns() 74 strerror(errno)); in __do_binderfs_test() 82 TH_LOG("%s - Failed to mount binderfs", strerror(errno)); in __do_binderfs_test() 94 strerror(errno)); in __do_binderfs_test() 104 strerror(errno)); in __do_binderfs_test() 117 strerror(errno)); in __do_binderfs_test() 127 strerror(errno)); in __do_binderfs_test() 138 strerror(errno)); in __do_binderfs_test() 152 strerror(errno)); in __do_binderfs_test() [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | xdp_synproxy.c | 39 fprintf(stderr, "Error: bpf_tc_hook_destroy: %s\n", strerror(-err)); in cleanup() 48 fprintf(stderr, "Error: bpf_prog_get_fd_by_id: %s\n", strerror(-prog_fd)); in cleanup() 51 fprintf(stderr, "Error: bpf_set_link_xdp_fd: %s\n", strerror(-err)); in cleanup() 60 fprintf(stderr, "Error: bpf_set_link_xdp_fd_opts: %s\n", strerror(-err)); in cleanup() 200 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach() 206 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach() 220 fprintf(stderr, "Error: bpf_obj_get_info_by_fd: %s\n", strerror(-err)); in syncookie_attach() 239 strerror(-err)); in syncookie_attach() 245 strerror(-err)); in syncookie_attach() 254 strerror(-err)); in syncookie_attach() [all …]
|
/Linux-v6.1/samples/binderfs/ |
D | binderfs_example.c | 26 strerror(errno)); in main() 33 strerror(errno)); in main() 40 strerror(errno)); in main() 47 strerror(errno)); in main() 56 strerror(errno)); in main() 66 strerror(errno)); in main() 76 strerror(errno)); in main()
|
/Linux-v6.1/tools/testing/selftests/bpf/map_tests/ |
D | map_in_map_batch_ops.c | 23 strerror(errno)); in get_map_id_from_fd() 46 map_type, map_name, strerror(errno)); in create_inner_maps() 62 map_type, map_name, strerror(errno)); in create_inner_maps() 78 map_type, strerror(errno)); in create_outer_map() 97 outer_map_value, strerror(errno)); in validate_fetch_results() 101 "error=%s\n", strerror(errno)); in validate_fetch_results() 111 inner_map_key, strerror(errno)); in validate_fetch_results() 135 "error=%s\n", strerror(errno)); in fetch_and_validate() 163 "error: %s\n", strerror(errno)); in fetch_and_validate() 174 total_fetched, max_entries, errno, strerror(errno)); in fetch_and_validate() [all …]
|
D | htab_map_batch_ops.c | 38 CHECK(err, "bpf_map_update_batch()", "error:%s\n", strerror(errno)); in map_batch_update() 95 "bpf_map_create()", "error:%s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 105 "error:%s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 112 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 121 CHECK(err, "count = 0", "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 130 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 137 CHECK(!err, "bpf_map_get_next_key()", "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 169 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 192 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 203 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() [all …]
|
/Linux-v6.1/samples/bpf/ |
D | xdp_redirect_cpu_user.c | 99 fprintf(stderr, "Create CPU entry failed: %s\n", strerror(errno)); in create_cpu_entry() 108 fprintf(stderr, "Add to avail CPUs failed: %s\n", strerror(errno)); in create_cpu_entry() 116 strerror(errno)); in create_cpu_entry() 125 strerror(errno)); in create_cpu_entry() 150 strerror(errno)); in mark_cpus_unavailable() 200 strerror(errno)); in set_cpumap_prog() 208 strerror(errno)); in set_cpumap_prog() 218 strerror(errno)); in set_cpumap_prog() 239 strerror(errno)); in set_cpumap_prog() 352 strerror(errno)); in main() [all …]
|
D | xdp_router_ipv4_user.c | 269 fprintf(stderr, "open netlink socket: %s\n", strerror(errno)); in get_route_table() 275 fprintf(stderr, "bind netlink socket: %s\n", strerror(errno)); in get_route_table() 295 fprintf(stderr, "send to netlink: %s\n", strerror(errno)); in get_route_table() 302 fprintf(stderr, "recv from netlink: %s\n", strerror(nll)); in get_route_table() 405 fprintf(stderr, "open netlink socket: %s\n", strerror(errno)); in get_arp_table() 411 fprintf(stderr, "bind netlink socket: %s\n", strerror(errno)); in get_arp_table() 430 fprintf(stderr, "send to netlink: %s\n", strerror(errno)); in get_arp_table() 437 fprintf(stderr, "recv from netlink: %s\n", strerror(nll)); in get_arp_table() 460 fprintf(stderr, "open netlink socket: %s\n", strerror(errno)); in monitor_routes_thread() 469 fprintf(stderr, "bind netlink socket: %s\n", strerror(errno)); in monitor_routes_thread() [all …]
|
D | fds_example.c | 85 printf("bpf: map fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map() 89 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_map() 93 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map() 100 ret, strerror(errno)); in bpf_do_map() 105 ret, strerror(errno)); in bpf_do_map() 118 printf("bpf: prog fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog() 122 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_prog() 126 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog() 135 ret, strerror(errno)); in bpf_do_prog()
|
D | xdp_redirect_map_user.c | 119 strerror(errno)); in main() 126 fprintf(stderr, "Failed to sample_init_pre_load: %s\n", strerror(-ret)); in main() 136 ifindex_out, strerror(-ret)); in main() 154 strerror(errno)); in main() 161 fprintf(stderr, "Failed to initialize sample: %s\n", strerror(-ret)); in main() 194 strerror(errno)); in main() 202 strerror(errno)); in main() 208 strerror(errno)); in main() 219 fprintf(stderr, "Failed during sample run: %s\n", strerror(-ret)); in main()
|
D | xdp_redirect_user.c | 104 fprintf(stderr, "Failed to xdp_redirect__open: %s\n", strerror(errno)); in main() 111 fprintf(stderr, "Failed to sample_init_pre_load: %s\n", strerror(-ret)); in main() 122 fprintf(stderr, "Failed to xdp_redirect__load: %s\n", strerror(errno)); in main() 129 fprintf(stderr, "Failed to initialize sample: %s\n", strerror(-ret)); in main() 146 strerror(errno)); in main() 152 strerror(errno)); in main() 163 fprintf(stderr, "Failed during sample run: %s\n", strerror(-ret)); in main()
|
/Linux-v6.1/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()
|
/Linux-v6.1/tools/testing/selftests/landlock/ |
D | common.h | 119 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _init_caps() 123 TH_LOG("Failed to cap_clear: %s", strerror(errno)); in _init_caps() 129 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _init_caps() 134 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _init_caps() 138 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _init_caps() 163 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _effective_cap() 167 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _effective_cap() 171 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _effective_cap() 175 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _effective_cap()
|
/Linux-v6.1/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()
|
/Linux-v6.1/tools/testing/selftests/arm64/fp/ |
D | vec-syscfg.c | 91 errno, strerror(errno)); in get_child_rdvl() 100 errno, strerror(errno)); in get_child_rdvl() 121 data->rdvl_binary, errno, strerror(errno)); in get_child_rdvl() 133 errno, strerror(errno)); in get_child_rdvl() 178 strerror(errno)); in file_read_integer() 196 strerror(errno)); in file_write_integer() 311 data->name, errno, strerror(errno)); in prctl_get() 336 data->name, errno, strerror(errno)); in prctl_set_same() 361 errno, strerror(errno)); in prctl_set() 382 errno, strerror(errno)); in prctl_set() [all …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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()
|