Home
last modified time | relevance | path

Searched refs:ksft_print_msg (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.4/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c31 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()
84 ksft_print_msg("ptrace(PTRACE_SINGLESTEP) failed: %s\n", in run_test()
91 ksft_print_msg("waitpid() failed: $s\n", strerror(errno)); in run_test()
95 ksft_print_msg("child did not single-step: %s\n", in run_test()
[all …]
Dbreakpoint_test_arm64.c38 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 arun_test()
134 ksft_print_msg( in arun_test()
139 ksft_print_msg("child did not stop with SIGSTOP\n"); in arun_test()
147 ksft_print_msg( in arun_test()
156 ksft_print_msg( in arun_test()
[all …]
Dbreakpoint_test.c111 ksft_print_msg("Can't set dr7: %s\n", strerror(errno)); in toggle_breakpoint()
211 ksft_print_msg("Can't be traced? %s\n", strerror(errno)); in trigger_tests()
/Linux-v5.4/tools/testing/selftests/capabilities/
Dtest_execve.c104 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 …]
Dvalidate_cap.c58 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()
/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_test.c183 ksft_print_msg("pid to recycle is %d\n", pid2); in test_pidfd_send_signal_recycled_pid_fail()
298 ksft_print_msg("%s test: Skipping test\n", test_name); in test_pidfd_send_signal_recycled_pid_fail()
346 ksft_print_msg("Child Thread: starting. pid %d tid %d ; and sleeping\n", in test_pidfd_poll_exec_thread()
348 ksft_print_msg("Child Thread: doing exec of sleep\n"); in test_pidfd_poll_exec_thread()
352 ksft_print_msg("Child Thread: DONE. pid %d tid %d\n", in test_pidfd_poll_exec_thread()
392 ksft_print_msg("Child (pidfd): starting. pid %d tid %d\n", getpid(), in child_poll_exec_test()
411 ksft_print_msg("Parent: pid: %d\n", getpid()); in test_pidfd_poll_exec()
417 ksft_print_msg("Parent: Waiting for Child (%d) to complete.\n", pid); in test_pidfd_poll_exec()
422 ksft_print_msg("Parent: error\n"); in test_pidfd_poll_exec()
425 ksft_print_msg("Parent: Child process waited for.\n"); in test_pidfd_poll_exec()
[all …]
Dpidfd_open_test.c131 ksft_print_msg( in main()
140 ksft_print_msg( in main()
149 ksft_print_msg("%s - failed to open pidfd\n", strerror(errno)); in main()
155 ksft_print_msg("pidfd %d refers to process with pid %d\n", pidfd, pid); in main()
Dpidfd_poll_test.c45 ksft_print_msg("running pidfd poll test for %d iterations\n", in main()
/Linux-v5.4/tools/testing/selftests/sigaltstack/
Dsas.c59 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()
/Linux-v5.4/tools/testing/selftests/futex/functional/
Dfutex_wait_timeout.c69 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()
Dfutex_requeue_pi_signal_restart.c144 ksft_print_msg("%s: Test signal handling during requeue_pi\n", in main()
146 ksft_print_msg("\tArguments: <none>\n"); in main()
Dfutex_wait_wouldblock.c65 ksft_print_msg("%s: Test the unexpected futex value in FUTEX_WAIT\n", in main()
Dfutex_wait_uninitialized_heap.c100 ksft_print_msg("%s: Test the uninitialized futex value in FUTEX_WAIT\n", in main()
Dfutex_requeue_pi_mismatched_ops.c79 ksft_print_msg("%s: Detect mismatched requeue_pi operations\n", in main()
Dfutex_wait_private_mapped_file.c98 ksft_print_msg( in main()
Dfutex_requeue_pi.c395 ksft_print_msg("%s: Test requeue functionality\n", basename(argv[0])); in main()
396 ksft_print_msg( in main()
/Linux-v5.4/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c189 ksft_print_msg( in __do_binderfs_test()
214 ksft_print_msg("Detected binder version: %d\n", in __do_binderfs_test()
258 ksft_print_msg( in binderfs_test_privileged()
/Linux-v5.4/tools/testing/selftests/sync/
Dsynctest.h36 ksft_print_msg("[ERROR]\t%s", (msg)); \
Dsync_test.c93 ksft_print_msg("[RUN]\tTesting sync framework\n"); in main()
/Linux-v5.4/tools/testing/selftests/
Dkselftest.h83 static inline void ksft_print_msg(const char *msg, ...) in ksft_print_msg() function