[tip: x86/fpu] uapi/auxvec: Define the aux vector AT_MINSIGSTKSZ

From: tip-bot2 for Chang S. Bae
Date: Wed May 19 2021 - 10:20:03 EST


The following commit has been merged into the x86/fpu branch of tip:

Commit-ID: 7cd60e43a6def40ecb75deb8decc677995970d0b
Gitweb: https://git.kernel.org/tip/7cd60e43a6def40ecb75deb8decc677995970d0b
Author: Chang S. Bae <chang.seok.bae@xxxxxxxxx>
AuthorDate: Tue, 18 May 2021 13:03:15 -07:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Wed, 19 May 2021 11:40:15 +02:00

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@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Reviewed-by: Len Brown <len.brown@xxxxxxxxx>
Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lkml.kernel.org/r/20210518200320.17239-2-chang.seok.bae@xxxxxxxxx
---
include/uapi/linux/auxvec.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/include/uapi/linux/auxvec.h b/include/uapi/linux/auxvec.h
index abe5f2b..c7e502b 100644
--- a/include/uapi/linux/auxvec.h
+++ b/include/uapi/linux/auxvec.h
@@ -33,5 +33,8 @@

#define AT_EXECFN 31 /* filename of program */

+#ifndef AT_MINSIGSTKSZ
+#define AT_MINSIGSTKSZ 51 /* minimal stack size for signal delivery */
+#endif

#endif /* _UAPI_LINUX_AUXVEC_H */