diff options
author | Andreas Kling <kling@serenityos.org> | 2021-12-25 11:04:40 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-12-25 11:05:30 +0100 |
commit | 2bd1a62ce1b834492bfdac993b3ff841c729c2fc (patch) | |
tree | 14060accfa1c4d324753c26c8e89172a5667a638 /Userland/Libraries/LibCore/System.h | |
parent | e815bf5d1f85fa91679bbd54b7d018a16359e6ca (diff) | |
download | serenity-2bd1a62ce1b834492bfdac993b3ff841c729c2fc.zip |
LibCore: Add syscall wrapper for ptrace()
Diffstat (limited to 'Userland/Libraries/LibCore/System.h')
-rw-r--r-- | Userland/Libraries/LibCore/System.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<int> recvfd(int sockfd, int options); ErrorOr<void> ptrace_peekbuf(pid_t tid, void const* tracee_addr, Bytes destination_buf); ErrorOr<void> setgroups(Span<gid_t const>); ErrorOr<void> mount(int source_fd, StringView target, StringView fs_type, int flags); +ErrorOr<long> ptrace(int request, pid_t tid, void* address, void* data); #endif ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigaction* old_action); |