瀏覽代碼

elf.h: add NT_ definitions from linux v5.0

NT_MIPS_MSA for ptrace access to mips simd arch reg set, added in linux
commit 3cd640832894b85b5929d5bda74505452c800421
NT_ARM_PAC_MASK for ptrace access to pointer auth code mask, added in
commit ec6e822d1a22d0eef1d1fa260dff751dba9a4258
Szabolcs Nagy 6 年之前
父節點
當前提交
843e453c11
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/elf.h

+ 2 - 0
include/elf.h

@@ -682,6 +682,7 @@ typedef struct {
 #define NT_ARM_HW_WATCH	0x403
 #define NT_ARM_SYSTEM_CALL	0x404
 #define NT_ARM_SVE	0x405
+#define NT_ARM_PAC_MASK	0x406
 #define NT_METAG_CBUF	0x500
 #define NT_METAG_RPIPE	0x501
 #define NT_METAG_TLS	0x502
@@ -689,6 +690,7 @@ typedef struct {
 #define NT_VMCOREDD	0x700
 #define NT_MIPS_DSP	0x800
 #define NT_MIPS_FP_MODE	0x801
+#define NT_MIPS_MSA	0x802
 #define NT_VERSION	1