ptrace.h 368 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <Kernel/API/POSIX/sys/ptrace.h>
  8. __BEGIN_DECLS
  9. // FIXME: PID/TID ISSUE
  10. // Affects the entirety of LibDebug and Userland/strace.cpp.
  11. // See also Kernel/Ptrace.cpp
  12. long ptrace(int request, pid_t tid, void* addr, void* data);
  13. __END_DECLS