mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
00b55eaf45
When CONFIG_VMAP_STACK is disabled, the user can enable CONFIG_STACK_CHECK,
which adds a stack overflow check to each C function in the kernel. This is
also done for functions in the vdso page. These functions are run in user
context and user stack sizes are usually different to what the kernel uses.
This might trigger the stack check although the stack size is valid.
Therefore filter the -mstack-guard and -mstack-size flags when compiling
vdso C files.
Cc: stable@kernel.org # 5.10+
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
gen_vdso_offsets.sh | ||
getcpu.c | ||
Makefile | ||
note.S | ||
vdso64_generic.c | ||
vdso64_wrapper.S | ||
vdso64.lds.S | ||
vdso_user_wrapper.S | ||
vdso.h |