>From 053ba4fecfe092ccabf2c2ca29ace8b91798a6c4 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 22 Aug 2018 17:51:25 +0000 Subject: [PATCH 7/8] add AT_MINSIGSTKSZ to elf.h from linux v4.18 new in linux commit 94b07c1f8c39c6d839df35fa28ffd1785d385897 currently only supported on aarch64: Stateful CPU architecture extensions may require the signal frame to grow to a size that exceeds the arch's MINSIGSTKSZ #define. However, changing this #define is an ABI break. To allow userspace the option of determining the signal frame size in a more forwards-compatible way, this patch adds a new auxv entry tagged with AT_MINSIGSTKSZ, which provides the maximum signal frame size that the process can observe during its lifetime. --- include/elf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/elf.h b/include/elf.h index c2297353..4a8843c7 100644 --- a/include/elf.h +++ b/include/elf.h @@ -1035,6 +1035,7 @@ typedef struct { #define AT_L3_CACHESIZE 46 #define AT_L3_CACHEGEOMETRY 47 +#define AT_MINSIGSTKSZ 51 typedef struct { -- 2.17.1