Helge Deller
f6ca0ac232
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 19:16:21 +01:00
..
2021-10-12 17:35:18 -07:00
2021-09-07 12:38:59 -07:00
2021-10-20 10:42:49 -07:00
2021-09-20 12:43:34 +01:00
2021-10-05 15:39:50 +02:00
2021-11-18 19:16:21 +01:00
2021-09-07 14:02:58 -07:00
2021-10-14 12:47:29 +01:00
2021-11-18 19:15:59 +01:00
2021-11-06 14:13:30 +01:00
2021-10-07 16:51:57 +02:00
2021-11-18 19:16:16 +01:00
2021-09-09 19:14:33 -04:00
2021-10-26 12:35:16 -07:00
2021-11-18 19:16:20 +01:00
2021-10-26 12:37:28 -07:00
2021-09-24 16:13:35 -07:00
2021-09-13 16:35:58 -07:00
2021-09-13 16:35:58 -07:00
2021-09-08 15:32:35 -07:00
2021-09-13 10:43:04 -07:00
2021-09-12 16:09:26 -07:00
2021-09-13 10:18:28 -07:00
2021-09-13 10:43:04 -07:00
2021-09-15 12:04:28 -07:00
2021-11-18 19:16:03 +01:00
2021-09-11 00:41:21 +02:00
2021-09-07 15:42:10 +02:00
2021-10-18 20:22:03 -10:00
2021-09-21 17:34:53 +02:00
2021-09-08 11:50:24 -07:00
2021-11-18 19:16:00 +01:00
2021-10-18 20:22:03 -10:00
2021-09-07 21:17:28 +02:00
2021-10-05 12:38:39 +01:00
2021-10-22 17:23:53 -07:00
2021-09-09 12:45:26 -07:00
2021-09-23 19:26:54 +02:00
2021-10-15 21:02:50 -06:00
2021-09-08 11:50:24 -07:00
2021-09-08 18:45:53 -07:00
2021-09-22 14:29:32 +01:00
2021-11-18 19:16:13 +01:00
2021-11-12 15:05:49 +01:00
2021-09-23 11:01:12 -04:00
2021-11-18 19:15:51 +01:00
2021-11-12 15:05:48 +01:00
2021-11-12 15:05:48 +01:00
2021-09-19 12:08:37 +01:00
2021-09-14 13:23:22 -07:00
2021-09-08 11:50:23 -07:00
2021-10-18 20:22:02 -10:00
2021-09-24 16:13:35 -07:00
2021-09-07 11:03:45 -07:00
2021-09-16 13:05:42 -07:00
2021-09-08 12:55:35 -07:00
2021-09-14 09:02:50 +02:00
2021-09-07 12:27:27 -07:00
2021-09-08 11:50:25 -07:00
2021-09-13 10:18:28 -07:00
2021-09-17 13:52:17 +01:00
2021-09-08 11:50:24 -07:00
2021-09-08 11:50:24 -07:00
2021-10-28 17:18:55 -07:00
2021-09-08 12:55:35 -07:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-10-01 13:57:54 +02:00
2021-09-07 14:04:59 +01:00
2021-09-20 22:28:47 +02:00
2021-10-07 16:51:57 +02:00
2021-10-01 13:57:57 +02:00
2021-10-18 20:22:03 -10:00
2021-11-12 15:05:48 +01:00
2021-11-18 19:16:01 +01:00
2021-09-09 10:57:52 +01:00
2021-10-26 12:29:33 -07:00
2021-09-09 13:25:49 -07:00
2021-09-08 11:50:28 -07:00
2021-09-08 17:44:26 +02:00
2021-10-18 18:12:09 -04:00
2021-09-22 10:24:01 -04:00
2021-09-08 15:32:35 -07:00
2021-09-15 09:22:35 -06:00
2021-09-08 12:55:35 -07:00
2021-10-18 16:02:30 -05:00
2021-09-06 07:20:57 -04:00
2021-09-06 07:20:57 -04:00
2021-09-08 11:50:24 -07:00
2021-09-13 07:53:27 -10:00