From b2464cf4c0a8f417cff26e0a492c69378e64f392 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Thu, 2 Dec 2021 01:44:18 +0200 Subject: [PATCH] Kernel: Define PT_WRITE_I and PT_WRITE_D These are aliases for PT_POKE that are used in some *BSDs. --- Kernel/API/POSIX/sys/ptrace.h | 2 ++ 1 file changed, 2 insertions(+) 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