Skip to content

Commit 14ccee9

Browse files
committed
kernel_supplement: Add additional NT_ARM_ definitions
For building with older kernel headers.
1 parent 2a922ab commit 14ccee9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: src/kernel_supplement.h

+8
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,14 @@ enum _ptrace_get_syscall_info_op {
139139
#define NT_ARM_SYSTEM_CALL 0x404
140140
#endif
141141

142+
#ifndef NT_ARM_PACA_KEYS
143+
#define NT_ARM_PACA_KEYS 0x407
144+
#endif
145+
146+
#ifndef NT_ARM_PACG_KEYS
147+
#define NT_ARM_PACG_KEYS 0x408
148+
#endif
149+
142150
// These are defined by the include/linux/errno.h in the kernel tree.
143151
// Since userspace doesn't see these errnos in normal operation, that
144152
// header apparently isn't distributed with libc.

0 commit comments

Comments
 (0)