aboutsummaryrefslogtreecommitdiff
path: root/musl/bits/ptrace.h
diff options
context:
space:
mode:
authorpk33 <pk33@pk33.space>2024-11-03 01:39:28 +0100
committerpk33 <pk33@pk33.space>2024-11-03 01:39:28 +0100
commitee7cd3e6b622a8c40236ac26270e369bc28af007 (patch)
treed5473064793f559d6677de193b4c827cf6623d2e /musl/bits/ptrace.h
parentdd5240ff7a87e85bca15b294236220ac0576055f (diff)
downloadengine33-ee7cd3e6b622a8c40236ac26270e369bc28af007.tar.gz
modesetting tweaks
Diffstat (limited to 'musl/bits/ptrace.h')
-rw-r--r--musl/bits/ptrace.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/musl/bits/ptrace.h b/musl/bits/ptrace.h
new file mode 100644
index 0000000..7f8a09b
--- /dev/null
+++ b/musl/bits/ptrace.h
@@ -0,0 +1,13 @@
+#define PTRACE_GET_THREAD_AREA 25
+#define PTRACE_SET_THREAD_AREA 26
+#define PTRACE_ARCH_PRCTL 30
+#define PTRACE_SYSEMU 31
+#define PTRACE_SYSEMU_SINGLESTEP 32
+#define PTRACE_SINGLEBLOCK 33
+
+#define PT_GET_THREAD_AREA PTRACE_GET_THREAD_AREA
+#define PT_SET_THREAD_AREA PTRACE_SET_THREAD_AREA
+#define PT_ARCH_PRCTL PTRACE_ARCH_PRCTL
+#define PT_SYSEMU PTRACE_SYSEMU
+#define PT_SYSEMU_SINGLESTEP PTRACE_SYSEMU_SINGLESTEP
+#define PT_STEPBLOCK PTRACE_SINGLEBLOCK