Files
i2som-imx-linux/include/linux
Helge Deller 50a2d1229b task_stack: Fix end_of_stack() for architectures with upwards-growing stack
[ Upstream commit 9cc2fa4f4a ]

The function end_of_stack() returns a pointer to the last entry of a
stack. For architectures like parisc where the stack grows upwards
return the pointer to the highest address in the stack.

Without this change I faced a crash on parisc, because the stackleak
functionality wrote STACKLEAK_POISON to the lowest address and thus
overwrote the first 4 bytes of the task_struct which included the
TIF_FLAGS.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 14:04:01 +01:00
..
2021-09-08 08:49:01 +02:00
2021-11-18 14:03:37 +01:00
2021-09-15 09:50:41 +02:00
2021-09-03 10:09:21 +02:00
2021-08-26 08:35:41 -04:00