1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:37:36 +00:00

LibCore: Implement new ptrace_peekbuf wrapper for PT_PEEKBUF syscall

This commit is contained in:
Ben Wiederhake 2021-11-25 23:04:52 +01:00 committed by Andreas Kling
parent 0f8483f09c
commit 70e96fb917
3 changed files with 26 additions and 0 deletions

View file

@ -19,6 +19,7 @@ ErrorOr<void> unveil(StringView path, StringView permissions);
ErrorOr<Array<int, 2>> pipe2(int flags);
ErrorOr<void> sendfd(int sockfd, int fd);
ErrorOr<int> recvfd(int sockfd, int options);
ErrorOr<void> ptrace_peekbuf(pid_t tid, void const* tracee_addr, Bytes destination_buf);
#endif
ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigaction* old_action);