[glibc] Add NT_RISCV_USER_CFI from Linux 7.0 to elf.h
Adhemerval Zanella via Glibc-cvs <[email protected]> Fri, 3 Jul 2026 23:35:06 +0000 (GMT)
| Newsgroups | gmane.comp.lib.glibc.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=568e673fa9d41208bc7297110e180618acdf0495 commit 568e673fa9d41208bc7297110e180618acdf0495 Author: Adhemerval Zanella <[email protected]> Date: Fri Jul 3 11:46:36 2026 -0300 Add NT_RISCV_USER_CFI from Linux 7.0 to elf.h It was added by commit 2af7c9cf021c5dabe880b68e5cc22c618060d954. Reviewed-by: Florian Weimer <[email protected]> Diff: --- elf/elf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/elf/elf.h b/elf/elf.h index 3a60ef36b5..b482fcfb64 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. */