From 2bd1a62ce1b834492bfdac993b3ff841c729c2fc Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 25 Dec 2021 11:04:40 +0100 Subject: LibCore: Add syscall wrapper for ptrace() --- Userland/Libraries/LibCore/System.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland/Libraries/LibCore/System.h') diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h index 8adef7d2f8..92609212b8 100644 --- a/Userland/Libraries/LibCore/System.h +++ b/Userland/Libraries/LibCore/System.h @@ -29,6 +29,7 @@ ErrorOr recvfd(int sockfd, int options); ErrorOr ptrace_peekbuf(pid_t tid, void const* tracee_addr, Bytes destination_buf); ErrorOr setgroups(Span); ErrorOr mount(int source_fd, StringView target, StringView fs_type, int flags); +ErrorOr ptrace(int request, pid_t tid, void* address, void* data); #endif ErrorOr sigaction(int signal, struct sigaction const* action, struct sigaction* old_action); -- cgit v1.2.3