| /linux-6.15/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 46 filename, strerror(errno)); in vmaybe_write_file() 59 filename, strerror(errno)); in vmaybe_write_file() 95 strerror(errno)); in create_and_enter_ns() 125 strerror(errno)); in create_and_enter_ns() 138 strerror(errno)); in chdir_to_tmpfs() 142 strerror(errno)); in chdir_to_tmpfs() 321 strerror(errno)); in do_tests() 331 strerror(errno)); in do_tests() 359 strerror(errno)); in do_tests() 393 strerror(errno)); in do_tests() [all …]
|
| /linux-6.15/tools/testing/selftests/mount/ |
| H A D | nosymfollow-test.c | 50 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 …]
|
| H A D | unprivileged-remount-test.c | 67 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-6.15/tools/testing/selftests/breakpoints/ |
| H A D | step_after_suspend_test.c | 32 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 …]
|
| H A 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() 149 strerror(errno)); in run_test() 157 "waitpid() failed: %s\n", strerror(errno)); in run_test() 176 strerror(errno)); in run_test() [all …]
|
| /linux-6.15/tools/testing/selftests/filesystems/binderfs/ |
| H A D | binderfs_test.c | 46 strerror(errno)); in change_mountns() 52 strerror(errno)); in change_mountns() 74 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() 304 strerror(errno)); in change_userns() [all …]
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | mrelease_test.c | 30 ksft_exit_fail_msg("mmap failed, halting the test: %s\n", strerror(errno)); in alloc_noexit() 37 ksft_exit_fail_msg("write: %s\n", strerror(errno)); in alloc_noexit() 56 ksft_exit_fail_msg("process_mrelease with wrong flags: %s\n", strerror(errno)); in run_negative_tests() 96 strerror(errno)); in main() 108 ksft_exit_fail_msg("pipe: %s\n", strerror(errno)); in main() 114 ksft_exit_fail_msg("fork: %s\n", strerror(errno)); in main() 134 ksft_exit_fail_msg("read: %s\n", strerror(errno)); in main() 141 ksft_exit_fail_msg("pidfd_open: %s\n", strerror(errno)); in main() 148 ksft_exit_fail_msg("kill: %s\n", strerror(errno)); in main() 163 ksft_exit_fail_msg("process_mrelease: %s\n", strerror(errno)); in main() [all …]
|
| H A D | mlock2-tests.c | 184 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_mlock_lock() 188 ksft_exit_fail_msg("mlock2(0): %s\n", strerror(errno)); in test_mlock_lock() 196 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_lock() 235 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_mlock_onfault() 247 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_onfault() 262 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_lock_onfault_of_present() 285 ksft_exit_fail_msg("mmap error: %s\n", strerror(errno)); in test_munlockall0() 311 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_munlockall1() 354 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_vma_management() 380 ksft_test_result_fail("munlock(): %s", strerror(errno)); in test_vma_management() [all …]
|
| H A D | compaction_test.c | 36 ksft_print_msg("Failed to read meminfo: %s\n", strerror(errno)); in read_memory_info() 47 ksft_print_msg("Failed to read meminfo: %s\n", strerror(errno)); in read_memory_info() 66 strerror(errno)); in prereq() 72 strerror(errno)); in prereq() 106 strerror(errno)); in check_compaction() 122 nr_hugepages_ul, strerror(errno)); in check_compaction() 130 strerror(errno)); in check_compaction() 148 strerror(errno)); in check_compaction() 178 strerror(errno)); in set_zero_hugepages() 183 strerror(errno)); in set_zero_hugepages() [all …]
|
| H A D | gup_longterm.c | 102 ksft_test_result_fail("ftruncate() failed (%s)\n", strerror(errno)); in do_test() 119 ksft_test_result_fail("mmap() failed (%s)\n", strerror(errno)); in do_test() 137 ksft_test_result_fail("mprotect() failed (%s)\n", strerror(errno)); in do_test() 179 strerror(errno)); in do_test() 185 strerror(errno)); in do_test() 212 strerror(-ret)); in do_test() 226 strerror(errno)); in do_test() 233 strerror(-ret)); in do_test() 278 ksft_test_result_fail("tmpfile() failed (%s)\n", strerror(errno)); in run_with_tmpfile() 284 ksft_test_result_fail("fileno() failed (%s)\n", strerror(errno)); in run_with_tmpfile() [all …]
|
| H A D | hugepage-mremap.c | 71 ksft_exit_fail_msg("userfaultfd: %s\n", strerror(errno)); in register_region_with_uffd() 76 ksft_exit_fail_msg("ioctl-UFFDIO_API: %s\n", strerror(errno)); in register_region_with_uffd() 87 ksft_exit_fail_msg("mmap: %s\n", strerror(errno)); in register_region_with_uffd() 96 ksft_exit_fail_msg("ioctl-UFFDIO_REGISTER: %s\n", strerror(errno)); in register_region_with_uffd() 121 ksft_exit_fail_msg("Open failed: %s\n", strerror(errno)); in main() 129 ksft_exit_fail_msg("mmap1: %s\n", strerror(errno)); in main() 137 ksft_exit_fail_msg("mmap3: %s\n", strerror(errno)); in main() 144 ksft_exit_fail_msg("mmap2: %s\n", strerror(errno)); in main() 151 ksft_exit_fail_msg("mremap: %s\n", strerror(errno)); in main()
|
| H A D | pagemap_ioctl.c | 156 ksft_exit_fail_msg("error %d %d %s\n", 1, errno, strerror(errno)); in wp_addr_range() 326 ksft_exit_fail_msg("error %ld %d %s\n", ret, errno, strerror(errno)); in sanity_tests_sd() 336 ksft_exit_fail_msg("error %ld %d %s\n", ret, errno, strerror(errno)); in sanity_tests_sd() 1167 ksft_exit_fail_msg("error nomem %d %s\n", errno, strerror(errno)); in sanity_tests() 1189 strerror(errno)); in sanity_tests() 1197 ksft_exit_fail_msg("error nomem %d %s\n", errno, strerror(errno)); in sanity_tests() 1407 ksft_exit_fail_msg("Error mmap %s.\n", strerror(errno)); in transact_test() 1600 strerror(errno)); in main() 1612 ksft_exit_fail_msg("error nomem %d %s\n", errno, strerror(errno)); in main() 1629 strerror(errno)); in main() [all …]
|
| /linux-6.15/tools/perf/arch/x86/tests/ |
| H A 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-6.15/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 137 strerror(errno)); in setup_namespace() 148 strerror(errno)); in setup_namespace() 153 strerror(errno)); in setup_namespace() 165 strerror(errno)); in setup_namespace() 194 strerror(errno)); in setup_mount_tree() 243 strerror(errno)); in test_statmount_zero_mask() 269 strerror(errno)); in test_statmount_mnt_basic() 329 strerror(errno)); in test_statmount_sb_basic() 345 strerror(errno)); in test_statmount_sb_basic() 360 strerror(errno)); in test_statmount_sb_basic() [all …]
|
| H A D | statmount_test_ns.c | 67 mnt_ns, strerror(errno)); in get_mnt_ns_id() 74 mnt_ns, strerror(errno)); in get_mnt_ns_id() 89 strerror(errno)); in get_mnt_id() 115 ksft_print_msg("writing to %s: %s\n", path, strerror(errno)); in write_file() 142 strerror(errno)); in setup_namespace() 159 strerror(errno)); in setup_namespace() 214 ksft_exit_fail_msg("failed to fork: %s\n", strerror(errno)); in test_statmount_mnt_ns_id() 244 ksft_print_msg("listmount: %s\n", strerror(errno)); in validate_external_listmount() 292 strerror(errno)); in test_listmount_ns() 295 strerror(errno)); in test_listmount_ns() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A 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() 202 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() 299 strerror(-err)); in syncookie_open_bpf_maps() 325 strerror(-err)); in syncookie_open_bpf_maps() [all …]
|
| /linux-6.15/samples/binderfs/ |
| H A 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-6.15/tools/testing/selftests/bpf/map_tests/ |
| H A 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() 136 "error=%s\n", strerror(errno)); in fetch_and_validate() 164 "error: %s\n", strerror(errno)); in fetch_and_validate() 203 "error=%s\n", strerror(errno)); in _map_in_map_batch_ops() [all …]
|
| H A D | map_percpu_stats.c | 81 "error: %s\n", strerror(errno)); in delete_and_lookup_batch() 98 CHECK(!keys, "calloc", "error: %s\n", strerror(errno)); in delete_all_elements() 117 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements() 121 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements() 154 strerror(errno), "small"); in create_small_hash() 207 CHECK(ret != 0, "pthread_create", "error: %s\n", strerror(ret)); in upsert_elements() 212 CHECK(ret != 0, "pthread_join", "error: %s\n", strerror(ret)); in upsert_elements() 223 CHECK(n <= 0, "read", "error: %s\n", strerror(errno)); in read_cur_elements() 228 CHECK(errno != 0, "strtol", "error: %s\n", strerror(errno)); in read_cur_elements() 351 strerror(errno), name); in map_create_opts() [all …]
|
| /linux-6.15/tools/testing/selftests/watchdog/ |
| H A D | watchdog-test.c | 198 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-6.15/tools/testing/selftests/media_tests/ |
| H A D | video_device_test.c | 52 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-6.15/tools/testing/selftests/arm64/fp/ |
| H A D | kernel-test.c | 83 strerror(errno), errno); in create_socket() 169 addr.salg_name, strerror(errno), errno); in create_socket() 176 addr.salg_name, strerror(errno), errno); in create_socket() 185 strerror(errno), errno); in create_socket() 214 strerror(errno), errno); in compute_digest() 222 strerror(errno), errno); in compute_digest() 241 strerror(errno), errno); in compute_digest() 265 strerror(errno), errno); in main() 271 strerror(errno), errno); in main() 275 strerror(errno), errno); in main() [all …]
|
| /linux-6.15/tools/testing/selftests/pidfd/ |
| H A 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()
|
| /linux-6.15/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 513 strerror(nll)); in monitor_routes_thread() 526 strerror(nll)); in monitor_routes_thread() 562 strerror(errno)); in main() 569 strerror(errno)); in main() 576 strerror(-ret)); in main() 584 strerror(errno)); in main() 640 strerror(-lpm_map_fd)); in main() 646 strerror(-arp_table_map_fd)); in main() 652 strerror(-exact_match_map_fd)); in main() 658 strerror(-tx_port_map_fd)); in main() [all …]
|
| H A 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()
|