[PATCH v2 10/13] Add NT_RISCV_USER_CFI from Linux 7.0 to elf.h

Adhemerval Zanella adhemerval.zanella@linaro.org
Fri Jul 3 14:46:36 GMT 2026


It was added by commit 2af7c9cf021c5dabe880b68e5cc22c618060d954.
---
 elf/elf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/elf/elf.h b/elf/elf.h
index 3a60ef36b55..b482fcfb648 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -847,6 +847,7 @@ typedef struct
 #define NT_RISCV_VECTOR	0x901		/* RISC-V vector registers */
 #define NT_RISCV_TAGGED_ADDR_CTRL	0x902	/* RISC-V tagged
 						   address control */
+#define NT_RISCV_USER_CFI	0x903		/* RISC-V shadow stack state */
 #define NT_LOONGARCH_CPUCFG	0xa00	/* LoongArch CPU config registers.  */
 #define NT_LOONGARCH_CSR	0xa01	/* LoongArch control and
 					   status registers.  */
-- 
2.43.0



More information about the Libc-alpha mailing list