summaryrefslogtreecommitdiff
path: root/include/uapi/linux/auxvec.h
diff options
context:
space:
mode:
authorChang S. Bae <chang.seok.bae@intel.com>2021-05-18 23:03:15 +0300
committerBorislav Petkov <bp@suse.de>2021-05-19 12:40:15 +0300
commit7cd60e43a6def40ecb75deb8decc677995970d0b (patch)
tree5d5ce6a3f26ed3df99946acea3c16f0e671c1f47 /include/uapi/linux/auxvec.h
parentd07f6ca923ea0927a1024dfccafc5b53b61cfecc (diff)
downloadlinux-7cd60e43a6def40ecb75deb8decc677995970d0b.tar.xz
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
Diffstat (limited to 'include/uapi/linux/auxvec.h')
-rw-r--r--include/uapi/linux/auxvec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/auxvec.h b/include/uapi/linux/auxvec.h
index abe5f2b6581b..c7e502bf5a6f 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 */