2 * Test PTRACE_PEEKDATA-based printpath/umovestr.
4 * Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
7 * SPDX-License-Identifier: GPL-2.0-or-later
11 #include "test_ucopy.h"
15 main(int ac, char **av)
17 if (ac < 2 && test_process_vm_readv())
18 error_msg_and_skip("process_vm_readv is available");
20 if (!test_ptrace_peekdata())
21 perror_msg_and_skip("PTRACE_PEEKDATA");
23 test_printpath(sizeof(long) * 4);
25 puts("+++ exited with 0 +++");