Home
last modified time | relevance | path

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

12345678910

/linux/tools/testing/selftests/capabilities/
A Dtest_execve.c54 filename, strerror(errno)); in vmaybe_write_file()
67 filename, strerror(errno)); in vmaybe_write_file()
107 strerror(errno)); in create_and_enter_ns()
134 strerror(errno)); in create_and_enter_ns()
147 strerror(errno)); in chdir_to_tmpfs()
151 strerror(errno)); in chdir_to_tmpfs()
327 strerror(errno)); in do_tests()
337 strerror(errno)); in do_tests()
365 strerror(errno)); in do_tests()
399 strerror(errno)); in do_tests()
[all …]
/linux/tools/testing/selftests/mount/
A Dnosymfollow-test.c50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file()
68 filename, strerror(errno)); in vmaybe_write_file()
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()
121 die("creat failed: %s\n", strerror(errno)); in setup_symlink()
125 die("symlink failed: %s\n", strerror(errno)); in setup_symlink()
139 link, strerror(errno)); in test_link_traversal()
159 die("readlink failed: %s\n", strerror(errno)); in test_readlink()
183 die("statfs failed: %s\n", strerror(errno)); in test_statfs()
207 die("mount failed: %s\n", strerror(errno)); in main()
[all …]
A Dunprivileged-remount-test.c67 strerror(errno)); in vmaybe_write_file()
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()
213 strerror(errno)); in test_unpriv_remount()
227 strerror(errno)); in test_unpriv_remount()
268 strerror(errno)); in test_priv_mount_unpriv_remount()
276 strerror(errno)); in test_priv_mount_unpriv_remount()
[all …]
/linux/tools/testing/selftests/breakpoints/
A Dstep_after_suspend_test.c32 strerror(errno)); in child()
38 strerror(errno)); in child()
57 ksft_print_msg("fork() failed: %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()
97 strerror(errno)); in run_test()
106 strerror(errno)); in run_test()
112 strerror(errno)); in run_test()
123 strerror(errno)); in run_test()
[all …]
A 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()
149 strerror(errno)); in run_test()
157 "waitpid() failed: %s\n", strerror(errno)); in run_test()
176 strerror(errno)); in run_test()
[all …]
/linux/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c46 strerror(errno)); in change_mountns()
52 strerror(errno)); in change_mountns()
73 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()
303 strerror(errno)); in change_userns()
[all …]
/linux/tools/perf/arch/x86/tests/
A 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/samples/bpf/
A Dxdp_redirect_cpu_user.c117 strerror(errno)); in create_cpu_entry()
126 strerror(errno)); in create_cpu_entry()
151 strerror(errno)); in mark_cpus_unavailable()
201 strerror(errno)); in set_cpumap_prog()
209 strerror(errno)); in set_cpumap_prog()
240 strerror(errno)); in set_cpumap_prog()
353 strerror(errno)); in main()
367 strerror(errno)); in main()
374 strerror(errno)); in main()
494 strerror(errno)); in main()
[all …]
A Dfds_example.c83 printf("bpf: map fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map()
87 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_map()
91 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map()
98 ret, strerror(errno)); in bpf_do_map()
103 ret, strerror(errno)); in bpf_do_map()
116 printf("bpf: prog fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog()
120 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_prog()
124 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog()
133 ret, strerror(errno)); in bpf_do_prog()
A Dxdp_redirect_map_user.c116 strerror(errno)); in main()
123 fprintf(stderr, "Failed to sample_init_pre_load: %s\n", strerror(-ret)); in main()
133 ifindex_out, strerror(-ret)); in main()
145 strerror(errno)); in main()
152 fprintf(stderr, "Failed to initialize sample: %s\n", strerror(-ret)); in main()
185 strerror(errno)); in main()
193 strerror(errno)); in main()
199 strerror(errno)); in main()
210 fprintf(stderr, "Failed during sample run: %s\n", strerror(-ret)); in main()
A Dxdp_redirect_user.c105 fprintf(stderr, "Failed to xdp_redirect__open: %s\n", strerror(errno)); in main()
112 fprintf(stderr, "Failed to sample_init_pre_load: %s\n", strerror(-ret)); in main()
123 fprintf(stderr, "Failed to xdp_redirect__load: %s\n", strerror(errno)); in main()
130 fprintf(stderr, "Failed to initialize sample: %s\n", strerror(-ret)); in main()
147 strerror(errno)); in main()
153 strerror(errno)); in main()
164 fprintf(stderr, "Failed during sample run: %s\n", strerror(-ret)); in main()
/linux/samples/binderfs/
A 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/tools/testing/selftests/watchdog/
A Dwatchdog-test.c120 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/tools/testing/selftests/landlock/
A Dcommon.h119 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _init_caps()
122 TH_LOG("Failed to cap_clear: %s", strerror(errno)); in _init_caps()
127 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _init_caps()
131 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _init_caps()
134 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _init_caps()
158 TH_LOG("Failed to cap_get_proc: %s", strerror(errno)); in _effective_cap()
161 TH_LOG("Failed to cap_set_flag: %s", strerror(errno)); in _effective_cap()
164 TH_LOG("Failed to cap_set_proc: %s", strerror(errno)); in _effective_cap()
167 TH_LOG("Failed to cap_free: %s", strerror(errno)); in _effective_cap()
/linux/tools/testing/selftests/bpf/map_tests/
A Dhtab_map_batch_ops.c37 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()
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()
238 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch()
[all …]
/linux/tools/testing/selftests/arm64/fp/
A Dvec-syscfg.c83 errno, strerror(errno)); in get_child_rdvl()
92 errno, strerror(errno)); in get_child_rdvl()
125 errno, strerror(errno)); in get_child_rdvl()
170 strerror(errno)); in file_read_integer()
188 strerror(errno)); in file_write_integer()
353 errno, strerror(errno)); in prctl_set()
374 errno, strerror(errno)); in prctl_set()
416 errno, strerror(errno)); in prctl_set_no_child()
454 errno, strerror(errno)); in prctl_set_for_child()
510 errno, strerror(errno)); in prctl_set_onexec()
[all …]
/linux/tools/testing/selftests/pidfd/
A 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()
A 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/tools/testing/selftests/uevent/
A 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/tools/bpf/bpftool/
A Dcommon.c136 target, strerror(errno)); in mnt_fs()
143 target, target, strerror(errno)); in mnt_fs()
152 type, type, target, strerror(errno)); in mnt_fs()
191 strerror(errno)); in open_obj_pinned()
572 strerror(errno)); in ifindex_to_bfd_params()
672 p_err("%s", strerror(errno)); in prog_fd_by_nametag()
681 id, strerror(errno)); in prog_fd_by_nametag()
688 id, strerror(errno)); in prog_fd_by_nametag()
824 p_err("%s", strerror(errno)); in map_fd_by_name()
833 id, strerror(errno)); in map_fd_by_name()
[all …]
/linux/tools/hv/
A 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/tools/testing/selftests/membarrier/
A Dmembarrier_test_impl.h30 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/tools/testing/selftests/futex/functional/
A 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()
/linux/tools/testing/selftests/firmware/
A 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/arch/arm/vdso/
A Dvdsomunge.c140 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main()
143 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main()
147 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
181 fail("Cannot open %s: %s\n", outfile, strerror(errno)); in main()
184 fail("Cannot truncate %s: %s\n", outfile, strerror(errno)); in main()
189 fail("Failed to map %s: %s\n", outfile, strerror(errno)); in main()
204 fail("Failed to sync %s: %s\n", outfile, strerror(errno)); in main()

Completed in 33 milliseconds

12345678910