summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-12-02 01:44:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-12-05 12:53:29 +0100
commitb2464cf4c0a8f417cff26e0a492c69378e64f392 (patch)
tree3131642e249297ade418d6dddc4cbd0db333a219 /Kernel/API
parent13dec3cdded01f31881ae355c595bef14d5f8017 (diff)
downloadserenity-b2464cf4c0a8f417cff26e0a492c69378e64f392.zip
Kernel: Define PT_WRITE_I and PT_WRITE_D
These are aliases for PT_POKE that are used in some *BSDs.
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/POSIX/sys/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/sys/ptrace.h b/Kernel/API/POSIX/sys/ptrace.h
index 01624a9cfc..8b9c0c0546 100644
--- a/Kernel/API/POSIX/sys/ptrace.h
+++ b/Kernel/API/POSIX/sys/ptrace.h
@@ -26,6 +26,8 @@ extern "C" {
#define PT_READ_I PT_PEEK
#define PT_READ_D PT_PEEK
+#define PT_WRITE_I PT_POKE
+#define PT_WRITE_D PT_POKE
#define DEBUG_STATUS_REGISTER 6
#define DEBUG_CONTROL_REGISTER 7