/linux/tools/testing/selftests/arm64/gcs/ ! |
H A D | basic-gcs.c | 46 ksft_print_msg("Mode set to %lx not %lx\n", in gcs_set_status() 51 ksft_print_msg("Failed to validate mode: %d\n", ret); in gcs_set_status() 55 ksft_print_msg("%senabled by prctl but %senabled in CHKFEAT\n", in gcs_set_status() 74 ksft_print_msg("Failed to read state: %d\n", ret); in read_status() 88 ksft_print_msg("PR_SHADOW_STACK_ENABLE failed %d\n", ret); in base_enable() 100 ksft_print_msg("GET GCSPR\n"); in read_gcspr_el0() 102 ksft_print_msg("GCSPR_EL0 is %p\n", gcspr_el0); in read_gcspr_el0() 114 ksft_print_msg("PR_SHADOW_STACK_ENABLE writeable failed: %d\n", ret); in enable_writeable() 120 ksft_print_msg("failed to restore plain enable %d\n", ret); in enable_writeable() 134 ksft_print_msg("PR_SHADOW_STACK_ENABL in enable_push_pop() [all...] |
H A D | libc-gcs.c | 72 ksft_print_msg("PR_GET_SHADOW_STACK_STATUS failed: %d\n", ret); in gcs_test_thread() 77 ksft_print_msg("GCS not enabled in thread, mode is %lu\n", in gcs_test_thread() 119 ksft_print_msg("GCS in use from %p-%p\n", gcs, cur); in TEST() 147 ksft_print_msg("fork() failed: %d (%s)\n", in TEST() 169 ksft_print_msg("Child: %d\n", child); in TEST() 177 ksft_print_msg("wait() failed: %s", in TEST() 208 ksft_print_msg("PTRACE_GETSIGINFO: %s\n", in TEST() 224 ksft_print_msg("PTRACE_CONT: %s\n", strerror(errno)); in TEST() 234 ksft_print_msg("Failed to read child GCS state: %s (%d)\n", in TEST() 247 ksft_print_msg("Chil in TEST() [all...] |
H A D | gcs-stress.c | 146 ksft_print_msg("Started %s\n", child->name); in start_thread() 161 ksft_print_msg("%s: read() failed: %s (%d)\n", in child_output_read() 186 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read() 221 ksft_print_msg("%s: %s<EOF>\n", child->name, child->output); in child_output() 252 ksft_print_msg("waitpid(%d) failed: %s (%d)\n", in child_cleanup() 266 ksft_print_msg("%s: Exited due to signal %d\n", in child_cleanup() 275 ksft_print_msg("%s no output seen\n", child->name); in child_cleanup() 280 ksft_print_msg("%s exited with error code %d\n", in child_cleanup() 303 ksft_print_msg("SIGCHLD for unknown PID %d with status %d\n", in handle_child_signal() 315 ksft_print_msg("Go in handle_exit_signal() [all...] |
/linux/tools/testing/selftests/arm64/abi/ ! |
H A D | tpidr2.c | 75 ksft_print_msg("TPIDR2 changed in child: %llx\n", in write_fork_read() 84 ksft_print_msg("Failed to set TPIDR2 in child\n"); in write_fork_read() 89 ksft_print_msg("fork() failed: %d\n", newpid); in write_fork_read() 99 ksft_print_msg("waitpid() failed: %d\n", errno); in write_fork_read() 103 ksft_print_msg("waitpid() returned wrong PID: %d != %d\n", in write_fork_read() 109 ksft_print_msg("child did not exit\n"); in write_fork_read() 114 ksft_print_msg("TPIDR2 corrupted in parent\n"); in write_fork_read() 154 ksft_print_msg("malloc() failed\n"); in write_clone_read() 161 ksft_print_msg("clone() failed: %d\n", errno); in write_clone_read() 168 ksft_print_msg("TPIDR in write_clone_read() [all...] |
/linux/tools/testing/selftests/cachestat/ ! |
H A D | test_cachestat.c | 30 ksft_print_msg( in print_cachestat() 49 ksft_print_msg("Unable to access urandom.\n"); in write_exactly() 56 ksft_print_msg("Unable to allocate data.\n"); in write_exactly() 68 ksft_print_msg("Unable to read from urandom.\n"); in write_exactly() 84 ksft_print_msg("Unable write random data to file.\n"); in write_exactly() 137 ksft_print_msg("Unable to create/open file.\n"); in test_cachestat() 141 ksft_print_msg("Create/open %s\n", filename); in test_cachestat() 146 ksft_print_msg("Unable to access urandom.\n"); in test_cachestat() 154 ksft_print_msg("Cachestat call returned %ld\n", syscall_ret); in test_cachestat() 157 ksft_print_msg("Cachesta in test_cachestat() [all...] |
/linux/tools/testing/selftests/filelock/ ! |
H A D | ofdlocks.c | 45 ksft_print_msg("[INFO] opened fds %i %i\n", fd, fd2); in main() 53 ksft_print_msg in main() 56 ksft_print_msg("[FAIL] to set OFD read lock on first fd\n"); in main() 67 ksft_print_msg("[FAIL] read locks conflicted\n"); in main() 78 ksft_print_msg in main() 81 ksft_print_msg in main() 91 ksft_print_msg in main() 96 ksft_print_msg in main() 100 ksft_print_msg in main() 110 ksft_print_msg in main() [all...] |
/linux/tools/testing/selftests/cgroup/ ! |
H A D | test_hugetlb_memcg.c | 106 ksft_print_msg( in hugetlb_test_program() 108 ksft_print_msg("before: %ld, after: %ld\n", old_current, current); in hugetlb_test_program() 114 ksft_print_msg("fail to mmap.\n"); in hugetlb_test_program() 119 ksft_print_msg("mmap should not increase hugepage usage.\n"); in hugetlb_test_program() 120 ksft_print_msg("before: %ld, after: %ld\n", old_current, current); in hugetlb_test_program() 130 ksft_print_msg("memory usage should increase by around 2MB.\n"); in hugetlb_test_program() 131 ksft_print_msg( in hugetlb_test_program() 142 ksft_print_msg("memory usage should increase by around 8MB.\n"); in hugetlb_test_program() 143 ksft_print_msg( in hugetlb_test_program() 154 ksft_print_msg("memor in hugetlb_test_program() [all...] |
/linux/tools/testing/selftests/breakpoints/ ! |
H A D | breakpoint_test_arm64.c | 38 ksft_print_msg( in child() 45 ksft_print_msg( in child() 51 ksft_print_msg( in child() 102 ksft_print_msg( in set_watchpoint() 106 ksft_print_msg( in set_watchpoint() 129 ksft_print_msg( in run_test() 134 ksft_print_msg( in run_test() 139 ksft_print_msg("child did not stop with SIGSTOP\n"); in run_test() 147 ksft_print_msg( in run_test() 156 ksft_print_msg( in run_test() [all...] |
/linux/tools/testing/selftests/mm/ ! |
H A D | gup_longterm.c | 108 ksft_print_msg("ftruncate() failed (%s)\n", in do_test() 123 ksft_print_msg("fallocate() not supported by filesystem\n"); in do_test() 126 ksft_print_msg("fallocate() failed (%s)\n", strerror(errno)); in do_test() 129 ksft_print_msg("need more free huge pages\n"); in do_test() 139 ksft_print_msg("mmap() failed (%s)\n", strerror(errno)); in do_test() 142 ksft_print_msg("need more free huge pages\n"); in do_test() 160 ksft_print_msg("mprotect() failed (%s)\n", strerror(errno)); in do_test() 174 ksft_print_msg("gup_test not available\n"); in do_test() 180 ksft_print_msg("Unknown filesystem\n"); in do_test() 198 ksft_print_msg("PIN_LONGTERM_TEST_STAR in do_test() [all...] |
H A D | hugetlb-soft-offline.c | 56 ksft_print_msg("Allocated %#lx bytes of hugetlb pages\n", len); in do_soft_offline() 60 ksft_print_msg("MADV_SOFT_OFFLINE %p ret=%d, errno=%d\n", in do_soft_offline() 68 ksft_print_msg("MADV_SOFT_OFFLINE should ret %d\n", in do_soft_offline() 93 ksft_print_msg("enable_soft_offline => %d\n", value); in set_enable_soft_offline() 145 ksft_print_msg(EPREFIX "not hugetlbfs file\n"); in create_hugetlbfs_file() 165 ksft_print_msg("Test soft-offline when enabled_soft_offline=%d\n", in test_soft_offline_common() 173 ksft_print_msg("Hugepagesize is %ldkB\n", hugepagesize_kb); in test_soft_offline_common() 185 ksft_print_msg("Before MADV_SOFT_OFFLINE nr_hugepages=%ld\n", in test_soft_offline_common() 195 ksft_print_msg("After MADV_SOFT_OFFLINE nr_hugepages=%ld\n", in test_soft_offline_common()
|
H A D | ksm_functional_tests.c | 167 ksft_print_msg("Disabling (unmerging) KSM failed\n"); in __mmap_and_merge_range() 172 ksft_print_msg("Still pages merged\n"); in __mmap_and_merge_range() 179 ksft_print_msg("mmap() failed\n"); in __mmap_and_merge_range() 185 ksft_print_msg("MADV_NOHUGEPAGE failed\n"); in __mmap_and_merge_range() 193 ksft_print_msg("mprotect() failed\n"); in __mmap_and_merge_range() 202 ksft_print_msg("PR_SET_MEMORY_MERGE not supported\n"); in __mmap_and_merge_range() 206 ksft_print_msg("PR_SET_MEMORY_MERGE=1 failed\n"); in __mmap_and_merge_range() 212 ksft_print_msg("MADV_MERGEABLE failed\n"); in __mmap_and_merge_range() 222 ksft_print_msg("Running KSM failed\n"); in __mmap_and_merge_range() 231 ksft_print_msg("N in __mmap_and_merge_range() [all...] |
/linux/tools/testing/selftests/seccomp/ ! |
H A D | seccomp_benchmark.c | 43 ksft_print_msg("%lu.%09lu - %lu.%09lu = %llu (%.1fs)\n", in timing() 58 ksft_print_msg("Calibrating sample size for %d seconds worth of syscalls ...\n", seconds); in calibrate() 118 ksft_print_msg("\t%s %s %s (%lld %s %lld): ", name_one, name_eval, name_two, in compare() 121 ksft_print_msg("Miscalculation! Measurement went negative: %lld\n", (long long)one); in compare() 126 ksft_print_msg("Miscalculation! Measurement went negative: %lld\n", (long long)two); in compare() 196 ksft_print_msg("Running on:\n"); in main() 197 ksft_print_msg("%s", ""); in main() 200 ksft_print_msg("Current BPF sysctl settings:\n"); in main() 202 ksft_print_msg("%s", ""); in main() 204 ksft_print_msg(" in main() [all...] |
/linux/tools/testing/selftests/pidfd/ ! |
H A D | pidfd_open_test.c | 134 ksft_print_msg( in main() 143 ksft_print_msg( in main() 152 ksft_print_msg("%s - failed to open pidfd\n", strerror(errno)); in main() 158 ksft_print_msg("pidfd %d refers to process with pid %d\n", pidfd, pid); in main() 161 ksft_print_msg("%s - failed to get info from pidfd\n", strerror(errno)); in main() 165 ksft_print_msg("pid from fdinfo file %d does not match pid from ioctl %d\n", in main() 170 ksft_print_msg("ppid %d does not match ppid from ioctl %d\n", in main() 175 ksft_print_msg("uid %d does not match uid from ioctl %d\n", in main() 180 ksft_print_msg("gid %d does not match gid from ioctl %d\n", in main() 185 ksft_print_msg("eui in main() [all...] |
/linux/tools/testing/selftests/clone3/ ! |
H A D | clone3_set_tid.c | 56 ksft_print_msg("%s - Failed to create new process\n", in call_clone3_set_tid() 66 ksft_print_msg("I am the child, my PID is %d (expected %d)\n", in call_clone3_set_tid() 69 ksft_print_msg("[%d] Child is ready and waiting\n", in call_clone3_set_tid() 76 ksft_print_msg( in call_clone3_set_tid() 84 ksft_print_msg( in call_clone3_set_tid() 97 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3_set_tid() 100 ksft_print_msg( in call_clone3_set_tid() 107 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3_set_tid() 127 ksft_print_msg( in test_clone3_set_tid() 132 ksft_print_msg( in test_clone3_set_tid() [all...] |
/linux/tools/testing/selftests/arm64/fp/ ! |
H A D | za-fork.c | 33 ksft_print_msg("ZA state invalid in child\n"); in fork_test_c() 40 ksft_print_msg("fork() failed: %d\n", newpid); in fork_test_c() 47 ksft_print_msg("ZA state invalid in parent\n"); in fork_test_c() 55 ksft_print_msg("waitpid() failed: %d\n", errno); in fork_test_c() 59 ksft_print_msg("waitpid() returned wrong PID\n"); in fork_test_c() 64 ksft_print_msg("child did not exit\n"); in fork_test_c() 79 ksft_print_msg("PID: %d\n", getpid()); in main() 91 ksft_print_msg("SME not supported\n"); in main()
|
H A D | fp-stress.c | 157 ksft_print_msg("%s: read() failed: %s (%d)\n", in child_output_read() 182 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read() 217 ksft_print_msg("%s: %s<EOF>\n", child->name, child->output); in child_output() 248 ksft_print_msg("waitpid(%d) failed: %s (%d)\n", in child_cleanup() 259 ksft_print_msg("%s no output seen\n", child->name); in child_cleanup() 264 ksft_print_msg("%s exited with error code %d\n", in child_cleanup() 287 ksft_print_msg("SIGCHLD for unknown PID %d with status %d\n", in handle_child_signal() 299 ksft_print_msg("Got signal, exiting...\n"); in handle_exit_signal() 321 ksft_print_msg("Started %s\n", child->name); in start_fpsimd() 334 ksft_print_msg("Starte in start_kernel() [all...] |
H A D | fp-ptrace.c | 165 ksft_print_msg("Mismatch in %s\n", name); in compare_buffer() 170 ksft_print_msg("OOM allocating %lu bytes for %s\n", in compare_buffer() 177 ksft_print_msg("%s is zero\n", name); in compare_buffer() 239 ksft_print_msg("Failed to set SVE VL %d: %d\n", in run_child() 247 ksft_print_msg("Failed to set SME VL %d: %d\n", in run_child() 279 ksft_print_msg("%s read failed: %s (%d)\n", in read_one_child_regs() 282 ksft_print_msg("Short read of %s: %d\n", name, ret); in read_one_child_regs() 374 ksft_print_msg("Failed to get PC: %s (%d)\n", in continue_breakpoint() 383 ksft_print_msg("Failed to skip BRK: %s (%d)\n", in continue_breakpoint() 391 ksft_print_msg("Faile in continue_breakpoint() [all...] |
H A D | zt-ptrace.c | 136 ksft_print_msg("Failed to disable ZA\n"); in ptrace_za_disabled_read_zt() 143 ksft_print_msg("Failed to read ZT\n"); in ptrace_za_disabled_read_zt() 149 ksft_print_msg("zt[%d]: 0x%x != 0\n", i, zt[i]); in ptrace_za_disabled_read_zt() 169 ksft_print_msg("Failed to set ZT\n"); in ptrace_set_get_zt() 175 ksft_print_msg("Failed to read ZT\n"); in ptrace_set_get_zt() 181 ksft_print_msg("zt[%d]: 0x%x != 0x%x\n", i, in ptrace_set_get_zt() 208 ksft_print_msg("Failed to disable ZA\n"); in ptrace_enable_za_via_zt() 216 ksft_print_msg("Failed to set ZT\n"); in ptrace_enable_za_via_zt() 226 ksft_print_msg("VL changed from %d to %d\n", in ptrace_enable_za_via_zt() 235 ksft_print_msg("Z in ptrace_enable_za_via_zt() [all...] |
/linux/tools/testing/selftests/capabilities/ ! |
H A D | test_execve.c | 92 ksft_print_msg("[NOTE]\tUsing global UIDs for tests\n"); in create_and_enter_ns() 113 ksft_print_msg("[NOTE]\tUsing a user namespace for tests\n"); in create_and_enter_ns() 180 ksft_print_msg("Child died\n"); in fork_wait() 183 ksft_print_msg("Child failed\n"); in fork_wait() 267 ksft_print_msg("[RUN]\tRoot => ep\n"); in do_tests() 271 ksft_print_msg("[RUN]\tNon-root => no caps\n"); in do_tests() 276 ksft_print_msg("Check cap_ambient manipulation rules\n"); in do_tests() 348 ksft_print_msg("[RUN]\tRoot +i => eip\n"); in do_tests() 352 ksft_print_msg("[RUN]\tNon-root +i => i\n"); in do_tests() 361 ksft_print_msg("[RU in do_tests() [all...] |
H A D | validate_cap.c | 50 ksft_print_msg("capng_get_caps_process failed\n"); in main() 55 ksft_print_msg("Wrong effective state%s\n", atsec); in main() 60 ksft_print_msg("Wrong permitted state%s\n", atsec); in main() 65 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main() 70 ksft_print_msg("Wrong ambient state%s\n", atsec); in main() 74 ksft_print_msg("%s: Capabilities after execve were correct\n", in main()
|
/linux/tools/testing/selftests/vDSO/ ! |
H A D | vdso_test_abi.c | 56 ksft_print_msg("Couldn't find %s\n", name[0]); in vdso_test_gettimeofday() 65 ksft_print_msg("The time is %lld.%06lld\n", in vdso_test_gettimeofday() 80 ksft_print_msg("Couldn't find %s\n", name[1]); in vdso_test_clock_gettime() 90 ksft_print_msg("The time is %lld.%06lld\n", in vdso_test_clock_gettime() 107 ksft_print_msg("Couldn't find %s\n", name[2]); in vdso_test_time() 115 ksft_print_msg("The time in hours since January 1, 1970 is %lld\n", in vdso_test_time() 132 ksft_print_msg("Couldn't find %s\n", name[3]); in vdso_test_clock_getres() 142 ksft_print_msg("The vdso resolution is %lld %lld\n", in vdso_test_clock_getres() 150 ksft_print_msg("The syscall resolution is %lld %lld\n", in vdso_test_clock_getres() 171 ksft_print_msg("clock_i in vdso_test_clock() [all...] |
/linux/tools/testing/selftests/alsa/ ! |
H A D | mixer-test.c | 85 ksft_print_msg("Failed to get hctl for card %d: %s\n", in find_controls() 106 ksft_print_msg("Failed to get card ID\n"); in find_controls() 108 ksft_print_msg("Failed to get card info: %d\n", err); in find_controls() 114 ksft_print_msg("Card %d/%s - %s (%s)\n", card, in find_controls() 161 ksft_print_msg("%s getting info for %s\n", in find_controls() 195 ksft_print_msg("snd_card_next"); in find_controls() 220 ksft_print_msg("poll() failed for %s: %s (%d)\n", in wait_for_event() 232 ksft_print_msg("snd_ctl_poll_descriptors_revents() failed for %s: %d\n", in wait_for_event() 237 ksft_print_msg("snd_ctl_poll_descriptors_revents() reported POLLERR for %s\n", in wait_for_event() 243 ksft_print_msg("N in wait_for_event() [all...] |
/linux/tools/testing/selftests/filesystems/statmount/ ! |
H A D | statmount_test_ns.c | 47 ksft_print_msg("waitpid returned -1, errno=%d\n", errno); in wait_for_pid() 52 ksft_print_msg( in wait_for_pid() 67 ksft_print_msg("failed to open for ns %s: %s\n", in get_mnt_ns_id() 74 ksft_print_msg("failed to get the nsid for ns %s: %s\n", in get_mnt_ns_id() 107 ksft_print_msg("statmount mnt ns id: %s\n", strerror(errno)); in _test_statmount_mnt_ns_id() 112 ksft_print_msg("unexpected size: %u != %u\n", sm.size, in _test_statmount_mnt_ns_id() 117 ksft_print_msg("statmount mnt ns id unavailable\n"); in _test_statmount_mnt_ns_id() 122 ksft_print_msg("unexpected mnt ns ID: 0x%llx != 0x%llx\n", in _test_statmount_mnt_ns_id() 168 ksft_print_msg("listmount: %s\n", strerror(errno)); in validate_external_listmount() 173 ksft_print_msg("listmoun in validate_external_listmount() [all...] |
/linux/tools/testing/selftests/arm64/mte/ ! |
H A D | mte_common_util.c | 55 ksft_print_msg("INFO: SIGSEGV signal at pc=%lx, fault addr=%lx, si_code=%lx, si_tag=%x, si_atag=%x\n", in mte_default_handler() 62 ksft_print_msg("Got unexpected SEGV_MTEAERR at pc=%llx, fault addr=%lx\n", in mte_default_handler() 70 ksft_print_msg("Invalid MTE synchronous exception caught for address tag! si_tag=%x, si_atag: %x\n", si_tag, si_atag); in mte_default_handler() 85 ksft_print_msg("Invalid MTE synchronous exception caught!\n"); in mte_default_handler() 89 ksft_print_msg("Unknown SIGSEGV exception caught!\n"); in mte_default_handler() 93 ksft_print_msg("INFO: SIGBUS signal at pc=%llx, fault addr=%lx, si_code=%x\n", in mte_default_handler() 134 ksft_print_msg("FAIL: Addr=%p: invalid\n", ptr); in mte_insert_tags() 146 ksft_print_msg("FAIL: Addr=%p: invalid\n", ptr); in mte_clear_tags() 182 ksft_print_msg("FAIL: Invalid allocate request\n"); in __mte_allocate_memory_range() 230 ksft_print_msg("FAI in mte_allocate_file_memory() [all...] |
/linux/tools/testing/selftests/resctrl/ ! |
H A D | resctrlfs.c | 71 ksft_print_msg("Mounting resctrl to \"%s\"\n", RESCTRL_PATH); in mount_resctrlfs() 112 ksft_print_msg("Invalid cache level\n"); in get_cache_level() 231 ksft_print_msg("Runtime SNC detection unreliable due to offline CPUs.\n"); in snc_nodes_per_l3_cache() 232 ksft_print_msg("Setting SNC mode to disabled.\n"); in snc_nodes_per_l3_cache() 240 ksft_print_msg("Could not determine Sub-NUMA Cluster mode.\n"); in snc_nodes_per_l3_cache() 247 ksft_print_msg("SNC-%d mode discovered.\n", snc_mode); in snc_nodes_per_l3_cache() 340 ksft_print_msg("Failed to open bit mask file '%s': %s\n", in get_bit_mask() 346 ksft_print_msg("Could not read bit mask file '%s': %s\n", in get_bit_mask() 379 ksft_print_msg("Error opening %s: %m\n", file_path); in resource_info_unsigned_get() 384 ksft_print_msg("Coul in resource_info_unsigned_get() [all...] |