| /OK3568_Linux_fs/kernel/tools/testing/selftests/breakpoints/ |
| H A D | step_after_suspend_test.c | 31 ksft_print_msg("sched_setaffinity() failed: %s\n", in child() 37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n", 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() 73 ksft_print_msg("child did not stop with SIGSTOP: %s\n", in run_test() 80 ksft_print_msg( in run_test() 85 ksft_print_msg("ptrace(PTRACE_SINGLESTEP) failed: %s\n", in run_test() 92 ksft_print_msg("waitpid() failed: $s\n", strerror(errno)); in run_test() [all …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 104 ksft_print_msg("[NOTE]\tUsing global UIDs for tests\n"); in create_and_enter_ns() 122 ksft_print_msg("[NOTE]\tUsing a user namespace for tests\n"); in create_and_enter_ns() 189 ksft_print_msg("Child died\n"); in fork_wait() 192 ksft_print_msg("Child failed\n"); in fork_wait() 273 ksft_print_msg("[RUN]\tRoot => ep\n"); in do_tests() 277 ksft_print_msg("[RUN]\tNon-root => no caps\n"); in do_tests() 282 ksft_print_msg("Check cap_ambient manipulation rules\n"); in do_tests() 354 ksft_print_msg("[RUN]\tRoot +i => eip\n"); in do_tests() 358 ksft_print_msg("[RUN]\tNon-root +i => i\n"); in do_tests() 367 ksft_print_msg("[RUN]\tUID %d +ia => eipa\n", uid); in do_tests() [all …]
|
| H A D | validate_cap.c | 58 ksft_print_msg("Wrong effective state%s\n", atsec); in main() 63 ksft_print_msg("Wrong permitted state%s\n", atsec); in main() 68 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main() 73 ksft_print_msg("Wrong ambient state%s\n", atsec); in main() 77 ksft_print_msg("%s: Capabilities after execve were correct\n", in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/clone3/ |
| H A D | clone3_set_tid.c | 58 ksft_print_msg("%s - Failed to create new process\n", in call_clone3_set_tid() 68 ksft_print_msg("I am the child, my PID is %d (expected %d)\n", in call_clone3_set_tid() 71 ksft_print_msg("[%d] Child is ready and waiting\n", in call_clone3_set_tid() 78 ksft_print_msg( in call_clone3_set_tid() 86 ksft_print_msg( in call_clone3_set_tid() 99 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3_set_tid() 102 ksft_print_msg( in call_clone3_set_tid() 109 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3_set_tid() 128 ksft_print_msg( in test_clone3_set_tid() 133 ksft_print_msg( in test_clone3_set_tid() [all …]
|
| H A D | clone3.c | 83 ksft_print_msg("%s - Failed to create new process\n", in call_clone3() 89 ksft_print_msg("I am the child, my PID is %d\n", getpid()); in call_clone3() 93 ksft_print_msg("I am the parent (%d). My child's pid is %d\n", in call_clone3() 97 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3() 111 ksft_print_msg( in test_clone3() 115 ksft_print_msg("[%d] clone3() with flags says: %d expected %d\n", in test_clone3()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/mte/ |
| H A D | mte_common_util.c | 34 ksft_print_msg("INFO: SIGSEGV signal at pc=%lx, fault addr=%lx, si_code=%lx\n", in mte_default_handler() 55 ksft_print_msg("Invalid MTE synchronous exception caught!\n"); in mte_default_handler() 59 ksft_print_msg("Unknown SIGSEGV exception caught!\n"); in mte_default_handler() 63 ksft_print_msg("INFO: SIGBUS signal at pc=%lx, fault addr=%lx, si_code=%lx\n", in mte_default_handler() 99 ksft_print_msg("FAIL: Addr=%lx: invalid\n", ptr); in mte_insert_tags() 111 ksft_print_msg("FAIL: Addr=%lx: invalid\n", ptr); in mte_clear_tags() 129 ksft_print_msg("FAIL: Invalid allocate request\n"); in __mte_allocate_memory_range() 146 ksft_print_msg("FAIL: mmap allocation\n"); in __mte_allocate_memory_range() 152 ksft_print_msg("FAIL: mprotect PROT_MTE property\n"); in __mte_allocate_memory_range() 179 ksft_print_msg("FAIL: Invalid mmap file request\n"); in mte_allocate_file_memory() [all …]
|
| H A D | check_ksm_options.c | 33 ksft_print_msg("ERR: missing %s\n", str); in read_sysfs() 47 ksft_print_msg("ERR: missing %s\n", str); in write_sysfs() 89 ksft_print_msg("INFO: pages_shared=%lu pages_sharing=%lu\n", in mte_ksm_scan() 102 ksft_print_msg("ERR: Kernel KSM config not enabled\n"); in check_madvise_options() 115 ksft_print_msg("ERR: madvise failed to set MADV_UNMERGEABLE\n"); in check_madvise_options() 137 ksft_print_msg("ERR: Unable to get page size\n"); in main()
|
| H A D | mte_common_util.h | 88 ksft_print_msg("FAIL: memory allocation\n"); in check_allocated_memory() 93 ksft_print_msg("FAIL: tag not found at addr(%p)\n", ptr); in check_allocated_memory() 105 ksft_print_msg("FAIL: memory allocation\n"); in check_allocated_memory_range() 110 ksft_print_msg("FAIL: tag not found at addr(%p)\n", ptr); in check_allocated_memory_range()
|
| H A D | check_child_memory.c | 39 ksft_print_msg("FAIL: child process creation\n"); in check_child_tag_inheritance() 53 ksft_print_msg("FAIL: child mte tag mismatch\n"); in check_child_tag_inheritance() 129 ksft_print_msg("FAIL: Insert tags on file based memory\n"); in check_child_file_mapping() 151 ksft_print_msg("ERR: Unable to get page size\n"); in main()
|
| H A D | check_mmap_options.c | 79 ksft_print_msg("FAIL: Insert tags on anonymous mmap memory\n"); in check_anonymous_memory_mapping() 116 ksft_print_msg("FAIL: Insert tags on file based memory\n"); in check_file_memory_mapping() 151 ksft_print_msg("FAIL: mprotect not ignoring clear PROT_MTE property\n"); in check_clear_prot_mte_flag() 172 ksft_print_msg("FAIL: mprotect not ignoring clear PROT_MTE property\n"); in check_clear_prot_mte_flag() 197 ksft_print_msg("ERR: Unable to get page size\n"); in main()
|
| H A D | check_tags_inclusion.c | 60 ksft_print_msg("FAIL: wrong tag = 0x%x with include mask=0x%x\n", in check_single_included_tags() 92 ksft_print_msg("FAIL: wrong tag = 0x%x with include mask=0x%x\n", in check_multiple_included_tags() 144 ksft_print_msg("FAIL: included tag value found\n"); in check_none_included_tags()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/pidfd/ |
| H A D | pidfd_test.c | 218 ksft_print_msg("pid to recycle is %d\n", pid2); in test_pidfd_send_signal_recycled_pid_fail() 383 ksft_print_msg("Child Thread: starting. pid %d tid %d ; and sleeping\n", in test_pidfd_poll_exec_thread() 385 ksft_print_msg("Child Thread: doing exec of sleep\n"); in test_pidfd_poll_exec_thread() 389 ksft_print_msg("Child Thread: DONE. pid %d tid %d\n", in test_pidfd_poll_exec_thread() 429 ksft_print_msg("Child (pidfd): starting. pid %d tid %d\n", getpid(), in child_poll_exec_test() 447 ksft_print_msg("Parent: pid: %d\n", getpid()); in test_pidfd_poll_exec() 453 ksft_print_msg("Parent: Waiting for Child (%d) to complete.\n", pid); in test_pidfd_poll_exec() 458 ksft_print_msg("Parent: error\n"); in test_pidfd_poll_exec() 461 ksft_print_msg("Parent: Child process waited for.\n"); in test_pidfd_poll_exec() 468 ksft_print_msg("Time waited for child: %lu\n", prog_time); in test_pidfd_poll_exec() [all …]
|
| H A D | pidfd_open_test.c | 130 ksft_print_msg( in main() 139 ksft_print_msg( in main() 148 ksft_print_msg("%s - failed to open pidfd\n", strerror(errno)); in main() 154 ksft_print_msg("pidfd %d refers to process with pid %d\n", pidfd, pid); in main()
|
| H A D | pidfd.h | 81 ksft_print_msg("waitpid returned -1, errno=%d\n", errno); in wait_for_pid() 86 ksft_print_msg( in wait_for_pid() 93 ksft_print_msg("waitpid WEXITSTATUS=%d\n", ret); in wait_for_pid()
|
| H A D | pidfd_fdinfo_test.c | 120 ksft_print_msg("New child: %d, fd: %d\n", ret.pid, ret.fd); in clone_newns() 231 ksft_print_msg("Failed to remount / private\n"); in child_fdinfo_nspid_test() 238 ksft_print_msg("Failed to remount /proc\n"); in child_fdinfo_nspid_test() 246 ksft_print_msg("NSpid fdinfo check failed: %s\n", err.msg); in child_fdinfo_nspid_test()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | 97 ksft_print_msg("openat2(2) unsupported\n"); in test_openat2_struct() 129 ksft_print_msg("openat2 unexpectedly returned "); in test_openat2_struct() 131 ksft_print_msg("%d['%s']\n", fd, fdpath); in test_openat2_struct() 133 ksft_print_msg("%d (%s)\n", fd, strerror(-fd)); in test_openat2_struct() 238 ksft_print_msg("openat2(2) unsupported\n"); in test_openat2_flags() 286 ksft_print_msg("openat2 unexpectedly returned "); in test_openat2_flags() 288 ksft_print_msg("%d['%s'] with %X (!= %X)\n", in test_openat2_flags() 292 ksft_print_msg("%d (%s)\n", fd, strerror(-fd)); in test_openat2_flags()
|
| H A D | rename_attack_test.c | 98 ksft_print_msg("openat2(2) unsupported -- using openat(2) instead\n"); in test_rename_attack() 137 ksft_print_msg("non-escapes: EAGAIN=%d EXDEV=%d E<other>=%d success=%d\n", in test_rename_attack()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/sigaltstack/ |
| H A D | sas.c | 59 ksft_print_msg("[RUN]\tsignal USR1\n"); in my_usr1() 72 ksft_print_msg("%s\n", p->msg); in my_usr1() 84 ksft_print_msg("[RUN]\tsignal USR2\n"); in my_usr2() 100 ksft_print_msg("[RUN]\tswitched to user ctx\n"); in switch_fn()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/ |
| H A D | incfs_test.c | 70 ksft_print_msg("%s failed %d\n", \ 74 ksft_print_msg("%s succeeded %d\n", \ 95 ksft_print_msg("Failed: %s (%d)\n", \ 251 ksft_print_msg("%s: %s\n", msg, strerror(errno)); in print_error() 265 ksft_print_msg("Unexpected child status pid=%d\n", pid); in wait_for_process() 483 ksft_print_msg("Wrote to file via normal fd error\n"); in emit_test_blocks() 501 ksft_print_msg( in emit_test_blocks() 655 ksft_print_msg( in create_backing_dir() 698 ksft_print_msg( in validate_test_file_content_with_seed() 717 ksft_print_msg( in validate_test_file_content_with_seed() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/futex/functional/ |
| H A D | futex_wait_timeout.c | 69 ksft_print_msg("%s: Block on a futex and wait for timeout\n", in main() 71 ksft_print_msg("\tArguments: timeout=%ldns\n", timeout_ns); in main()
|
| H A D | futex_requeue_pi_signal_restart.c | 144 ksft_print_msg("%s: Test signal handling during requeue_pi\n", in main() 146 ksft_print_msg("\tArguments: <none>\n"); in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 973 ksft_print_msg(" RUN %s%s%s.%s ...\n", in __run_test() 982 ksft_print_msg("ERROR SPAWNING TEST CHILD\n"); in __run_test() 997 ksft_print_msg(" %4s %s%s%s.%s\n", t->passed ? "OK" : "FAIL", in __run_test() 1034 ksft_print_msg("Starting %u tests from %u test cases.\n", in test_harness_run() 1052 ksft_print_msg("%s: %u / %u tests passed.\n", ret ? "FAILED" : "PASSED", in test_harness_run()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/sync/ |
| H A D | synctest.h | 36 ksft_print_msg("[ERROR]\t%s", (msg)); \
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/signal/ |
| H A D | test_signals.c | 21 ksft_print_msg("%s :: %s\n", current->name, current->descr); in main()
|