/Linux-v5.4/tools/testing/selftests/capabilities/ |
D | test_execve.c | 43 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno)); in vmaybe_write_file() 46 ksft_exit_fail_msg("vsnprintf output truncated\n"); in vmaybe_write_file() 53 ksft_exit_fail_msg("open of %s failed - %s\n", in vmaybe_write_file() 59 ksft_exit_fail_msg("short write to %s\n", filename); in vmaybe_write_file() 61 ksft_exit_fail_msg("write to %s failed - %s\n", in vmaybe_write_file() 66 ksft_exit_fail_msg("close of %s failed - %s\n", in vmaybe_write_file() 106 ksft_exit_fail_msg("PR_SET_KEEPCAPS - %s\n", in create_and_enter_ns() 109 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno)); in create_and_enter_ns() 117 ksft_exit_fail_msg( in create_and_enter_ns() 133 ksft_exit_fail_msg("remount everything private - %s\n", in create_and_enter_ns() [all …]
|
D | validate_cap.c | 31 ksft_exit_fail_msg("wrong argv[%d]\n", i); in bool_arg() 46 ksft_exit_fail_msg("wrong argc\n"); in main()
|
/Linux-v5.4/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 54 ksft_exit_fail_msg("%s test: failed to open /proc/self %s\n", in test_pidfd_wait_simple() 59 ksft_exit_fail_msg( in test_pidfd_wait_simple() 67 ksft_exit_fail_msg("%s test: failed to open /dev/null %s\n", in test_pidfd_wait_simple() 72 ksft_exit_fail_msg( in test_pidfd_wait_simple() 80 ksft_exit_fail_msg("%s test: failed to create new process %s\n", in test_pidfd_wait_simple() 88 ksft_exit_fail_msg( in test_pidfd_wait_simple() 93 ksft_exit_fail_msg( in test_pidfd_wait_simple() 99 ksft_exit_fail_msg( in test_pidfd_wait_simple() 105 ksft_exit_fail_msg( in test_pidfd_wait_simple() 111 ksft_exit_fail_msg( in test_pidfd_wait_simple() [all …]
|
D | pidfd_poll_test.c | 36 ksft_exit_fail_msg("Unexpected command line argument\n"); in main() 41 ksft_exit_fail_msg("invalid input parameter %s\n", in main() 57 ksft_exit_fail_msg( in main() 71 ksft_exit_fail_msg("%s - pidfd_open failed\n", in main() 76 ksft_exit_fail_msg("%s - signal failed\n", in main() 82 ksft_exit_fail_msg("%s - pidfd_send_signal failed\n", in main() 91 ksft_exit_fail_msg("%s - poll failed\n", in main() 95 ksft_exit_fail_msg("unexpected poll result: %d\n", in main() 99 ksft_exit_fail_msg( in main() 104 ksft_exit_fail_msg( in main() [all …]
|
D | pidfd_test.c | 61 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success() 70 ksft_exit_fail_msg("%s test: Failed to send signal\n", in test_pidfd_send_signal_simple_success() 74 ksft_exit_fail_msg("%s test: Failed to receive signal\n", in test_pidfd_send_signal_simple_success() 91 ksft_exit_fail_msg("%s test: Failed to create new process\n", in test_pidfd_send_signal_exited_fail() 104 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail() 112 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail() 117 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail() 142 ksft_exit_fail_msg("%s test: Failed to unshare pid namespace\n", in test_pidfd_send_signal_recycled_pid_fail() 147 ksft_exit_fail_msg( in test_pidfd_send_signal_recycled_pid_fail() 153 ksft_exit_fail_msg("%s test: Failed to remount / private\n", in test_pidfd_send_signal_recycled_pid_fail() [all …]
|
/Linux-v5.4/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 39 ksft_exit_fail_msg("%s - Failed to open file %s\n", in write_to_file() 64 ksft_exit_fail_msg("%s - Failed to write to file %s\n", in write_to_file() 67 ksft_exit_fail_msg("Failed to write to file %s\n", filename); in write_to_file() 83 ksft_exit_fail_msg("%s - Failed to unshare user namespace\n", in change_to_userns() 90 ksft_exit_fail_msg("%s - Failed to prepare uid mapping\n", in change_to_userns() 97 ksft_exit_fail_msg("%s - Failed to prepare uid mapping\n", in change_to_userns() 104 ksft_exit_fail_msg("%s - Failed to setgid(0)\n", in change_to_userns() 109 ksft_exit_fail_msg("%s - Failed to setgid(0)\n", in change_to_userns() 119 ksft_exit_fail_msg("%s - Failed to unshare mount namespace\n", in change_to_mountns() 124 ksft_exit_fail_msg("%s - Failed to mount / as private\n", in change_to_mountns() [all …]
|
/Linux-v5.4/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 23 ksft_exit_fail_msg( in test_membarrier_cmd_fail() 28 ksft_exit_fail_msg( in test_membarrier_cmd_fail() 46 ksft_exit_fail_msg( in test_membarrier_flags_fail() 51 ksft_exit_fail_msg( in test_membarrier_flags_fail() 69 ksft_exit_fail_msg( in test_membarrier_global_success() 85 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail() 90 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail() 108 ksft_exit_fail_msg( in test_membarrier_register_private_expedited_success() 125 ksft_exit_fail_msg( in test_membarrier_private_expedited_success() 142 ksft_exit_fail_msg( in test_membarrier_private_expedited_sync_core_fail() [all …]
|
/Linux-v5.4/tools/testing/selftests/sigaltstack/ |
D | sas.c | 51 ksft_exit_fail_msg("SP is not on sigaltstack\n"); in my_usr1() 62 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in my_usr1() 123 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main() 129 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main() 136 ksft_exit_fail_msg("Initial sigaltstack state was %x; " in main() 157 ksft_exit_fail_msg( in main() 167 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main() 179 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main() 183 ksft_exit_fail_msg("ss_flags=%x, should be SS_AUTODISARM\n", in main()
|
/Linux-v5.4/tools/testing/selftests/ir/ |
D | ir_loopback.c | 73 ksft_exit_fail_msg("cannot open %s: %m\n", buf); in lirc_open() 89 ksft_exit_fail_msg("cannot open: %s: %m\n", buf); in lirc_open() 103 ksft_exit_fail_msg("Usage: %s <write rcN> <read rcN>\n", in main() 109 ksft_exit_fail_msg("failed to set scancode rec mode %s: %m\n", in main() 114 ksft_exit_fail_msg("failed to set scancode send mode %s: %m\n", in main() 120 ksft_exit_fail_msg("failed to open %s: %m\n", buf); in main() 127 ksft_exit_fail_msg("failed to set write decoder\n"); in main() 164 ksft_exit_fail_msg("failed to send ir: %m\n"); in main()
|
/Linux-v5.4/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 142 ksft_exit_fail_msg( in suspend() 148 ksft_exit_fail_msg("timerfd_create() failed\n"); in suspend() 153 ksft_exit_fail_msg("timerfd_settime() failed\n"); in suspend() 156 ksft_exit_fail_msg("Failed to enter Suspend state\n"); in suspend() 198 ksft_exit_fail_msg("sched_getaffinity() failed\n"); in main()
|
D | breakpoint_test.c | 49 ksft_exit_fail_msg("Can't set breakpoint addr: %s\n", in set_breakpoint_addr() 281 ksft_exit_fail_msg("Can't poke: %s\n", strerror(errno)); in check_success()
|
/Linux-v5.4/tools/testing/selftests/sync/ |
D | sync_test.c | 80 ksft_exit_fail_msg("stat failed on /sys/kernel/debug/sync/sw_sync: %s", in sync_api_supported() 109 ksft_exit_fail_msg("%d out of %d sync tests failed\n", in main()
|
/Linux-v5.4/tools/testing/selftests/ |
D | kselftest.h | 164 static inline int ksft_exit_fail_msg(const char *msg, ...) in ksft_exit_fail_msg() function
|