Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

uapi/auxvec: Define the aux vector AT_MINSIGSTKSZ

Define AT_MINSIGSTKSZ in the generic uapi header. It is already used
as generic ABI in glibc's generic elf.h, and this define will prevent
future namespace conflicts. In particular, x86 is also using this
generic definition.

Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Len Brown <len.brown@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20210518200320.17239-2-chang.seok.bae@intel.com

authored by

Chang S. Bae and committed by
Borislav Petkov
7cd60e43 d07f6ca9

+3
+3
include/uapi/linux/auxvec.h
··· 33 33 34 34 #define AT_EXECFN 31 /* filename of program */ 35 35 36 + #ifndef AT_MINSIGSTKSZ 37 + #define AT_MINSIGSTKSZ 51 /* minimal stack size for signal delivery */ 38 + #endif 36 39 37 40 #endif /* _UAPI_LINUX_AUXVEC_H */