Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 255) sorted by relevance

1234567891011

/Linux-v6.6/tools/testing/selftests/capabilities/
Dtest_execve.c43 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.6/tools/testing/selftests/mount/
Dnosymfollow-test.c50 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 …]
Dunprivileged-remount-test.c67 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.6/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c32 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 …]
Dbreakpoint_test_arm64.c40 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.6/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c46 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.6/tools/perf/arch/x86/tests/
Dbp-modify.c84 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.6/tools/testing/selftests/bpf/
Dxdp_synproxy.c39 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()
202 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach()
208 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach()
223 strerror(-err)); in syncookie_attach()
242 strerror(-err)); in syncookie_attach()
248 strerror(-err)); in syncookie_attach()
257 strerror(-err)); in syncookie_attach()
[all …]
/Linux-v6.6/samples/binderfs/
Dbinderfs_example.c26 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.6/tools/testing/selftests/bpf/map_tests/
Dmap_in_map_batch_ops.c23 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 …]
Dmap_percpu_stats.c29 CHECK(ret < 0, "bpf_obj_get_info_by_fd", "error: %s\n", strerror(errno)); in map_info()
80 "error: %s\n", strerror(errno)); in delete_and_lookup_batch()
97 CHECK(!keys, "calloc", "error: %s\n", strerror(errno)); in delete_all_elements()
116 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements()
120 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements()
146 strerror(errno), "small"); in create_small_hash()
164 CHECK(ret < 0, "bpf_map_update_elem", "key=%d error: %s\n", i, strerror(errno)); in patch_map_thread()
180 CHECK(ret != 0, "pthread_create", "error: %s\n", strerror(ret)); in upsert_elements()
185 CHECK(ret != 0, "pthread_join", "error: %s\n", strerror(ret)); in upsert_elements()
196 CHECK(n <= 0, "read", "error: %s\n", strerror(errno)); in read_cur_elements()
[all …]
Dhtab_map_batch_ops.c38 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.6/tools/testing/selftests/watchdog/
Dwatchdog-test.c198 strerror(errno)); in main()
207 printf("WDIOC_GETSUPPORT error '%s'\n", strerror(errno)); in main()
223 printf("WDIOC_GETBOOTSTATUS error '%s'\n", strerror(errno)); in main()
231 printf("WDIOS_DISABLECARD error '%s'\n", strerror(errno)); in main()
241 printf("WDIOS_ENABLECARD error '%s'\n", strerror(errno)); in main()
258 printf("WDIOC_GETSTATUS error '%s'\n", strerror(errno)); in main()
261 printf("WDIOC_GETTEMP: '%s'\n", strerror(errno)); in main()
272 printf("WDIOC_SETTIMEOUT error '%s'\n", strerror(errno)); in main()
282 printf("WDIOC_GETTIMEOUT error '%s'\n", strerror(errno)); in main()
290 printf("WDIOC_SETPRETIMEOUT error '%s'\n", strerror(errno)); in main()
[all …]
/Linux-v6.6/tools/testing/selftests/media_tests/
Dvideo_device_test.c52 printf("Failed to get priority: %s\n", strerror(errno)); in priority_test()
58 printf("Failed to set priority: %s\n", strerror(errno)); in priority_test()
63 printf("Failed to get new priority: %s\n", strerror(errno)); in priority_test()
75 printf("Failed to restore priority: %s\n", strerror(errno)); in priority_test()
101 printf("VIDIOC_QUERYCAP errno %s\n", strerror(errno)); in loop_test()
107 printf("VIDIOC_G_TUNER, errno %s\n", strerror(errno)); in loop_test()
145 printf("Video Device open errno %s\n", strerror(errno)); in main()
/Linux-v6.6/samples/bpf/
Dxdp_router_ipv4_user.c269 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 …]
Dfds_example.c85 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()
/Linux-v6.6/tools/testing/selftests/pidfd/
Dpidfd_poll_test.c58 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()
Dpidfd_getfd_test.c48 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.6/tools/testing/selftests/landlock/
Dcommon.h124 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _init_caps()
128 TH_LOG("Failed to cap_clear: %s", strerror(errno)); in _init_caps()
134 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _init_caps()
139 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _init_caps()
143 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _init_caps()
166 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _effective_cap()
170 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _effective_cap()
174 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _effective_cap()
178 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _effective_cap()
/Linux-v6.6/tools/hv/
Dhv_vss_daemon.c83 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.6/tools/testing/selftests/uevent/
Duevent_filtering.c95 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.6/tools/testing/selftests/firmware/
Dfw_namespace.c46 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()
/Linux-v6.6/tools/testing/selftests/arm64/fp/
Dvec-syscfg.c94 errno, strerror(errno)); in get_child_rdvl()
103 errno, strerror(errno)); in get_child_rdvl()
124 data->rdvl_binary, errno, strerror(errno)); in get_child_rdvl()
136 errno, strerror(errno)); in get_child_rdvl()
181 strerror(errno)); in file_read_integer()
199 strerror(errno)); in file_write_integer()
314 data->name, errno, strerror(errno)); in prctl_get()
339 data->name, errno, strerror(errno)); in prctl_set_same()
364 errno, strerror(errno)); in prctl_set()
385 errno, strerror(errno)); in prctl_set()
[all …]
/Linux-v6.6/tools/testing/selftests/membarrier/
Dmembarrier_test_impl.h57 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail()
58 errno, strerror(errno)); in test_membarrier_cmd_fail()
80 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_flags_fail()
81 errno, strerror(errno)); in test_membarrier_flags_fail()
119 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_fail()
120 errno, strerror(errno)); in test_membarrier_private_expedited_fail()
178 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_sync_core_fail()
179 errno, strerror(errno)); in test_membarrier_private_expedited_sync_core_fail()
/Linux-v6.6/tools/testing/selftests/futex/functional/
Dfutex_waitv.c51 errno, strerror(errno)); in waiterfn()
106 res ? strerror(errno) : ""); in main()
139 res ? strerror(errno) : ""); in main()
160 res ? strerror(errno) : ""); in main()
179 res ? strerror(errno) : ""); in main()
197 res ? strerror(errno) : ""); in main()
213 res ? strerror(errno) : ""); in main()
229 res ? strerror(errno) : ""); in main()

1234567891011