ptrace.h 391 B

12345678910111213141516171819
  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. #include <sys/cdefs.h>
  9. __BEGIN_DECLS
  10. // FIXME: PID/TID ISSUE
  11. // Affects the entirety of LibDebug and Userland/strace.cpp.
  12. // See also Kernel/Ptrace.cpp
  13. long ptrace(int request, pid_t tid, void* addr, void* data);
  14. __END_DECLS