diff options
author | Chang S. Bae <chang.seok.bae@intel.com> | 2021-05-18 13:03:18 -0700 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-05-19 12:38:17 +0200 |
commit | bdf6c8b84a4fa726c382ef6d3518f3ae123a7ebd (patch) | |
tree | 748bb858c73b77862f456afb8ab881613ebebac5 /arch | |
parent | 1c33bb0507508af24fd754dd7123bd8e997fab2f (diff) |
selftest/sigaltstack: Use the AT_MINSIGSTKSZ aux vector if available
The SIGSTKSZ constant may not represent enough stack size in some
architectures as the hardware state size grows.
Use getauxval(AT_MINSIGSTKSZ) to increase the stack size.
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-5-chang.seok.bae@intel.com
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions