Skip to content

Commit

Permalink
kernel_supplement: Add additional NT_ARM_ definitions
Browse files Browse the repository at this point in the history
For building with older kernel headers.
  • Loading branch information
Keno committed Sep 20, 2024
1 parent c1ca645 commit 0e3f257
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/kernel_supplement.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0e3f257

Please sign in to comment.