From 14ccee90bf59b9eead214a2b4d30d41328cea8f0 Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Fri, 20 Sep 2024 21:04:10 +0000 Subject: [PATCH] kernel_supplement: Add additional NT_ARM_ definitions For building with older kernel headers. --- src/kernel_supplement.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/kernel_supplement.h b/src/kernel_supplement.h index bdcfefd03f1..d5c56678074 100644 --- a/src/kernel_supplement.h +++ b/src/kernel_supplement.h @@ -139,6 +139,14 @@ enum _ptrace_get_syscall_info_op { #define NT_ARM_SYSTEM_CALL 0x404 #endif +#ifndef NT_ARM_PACA_KEYS +#define NT_ARM_PACA_KEYS 0x407 +#endif + +#ifndef NT_ARM_PACG_KEYS +#define NT_ARM_PACG_KEYS 0x408 +#endif + // These are defined by the include/linux/errno.h in the kernel tree. // Since userspace doesn't see these errnos in normal operation, that // header apparently isn't distributed with libc.