Files
linux-stable-mirror/arch/mips/include/asm
Jiaxun Yang 4370b673cc MIPS: scall: Save thread_info.syscall unconditionally on entry
thread_info.syscall is used by syscall_get_nr to supply syscall nr
over a thread stack frame.

Previously, thread_info.syscall is only saved at syscall_trace_enter
when syscall tracing is enabled. However rest of the kernel code do
expect syscall_get_nr to be available without syscall tracing. The
previous design breaks collect_syscall.

Move saving process to syscall entry to fix it.

Reported-by: Xi Ruoyao <xry111@xry111.site>
Link: https://github.com/util-linux/util-linux/issues/2867
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2024-04-09 16:52:21 +02:00
..
2023-06-09 17:44:13 -07:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2022-03-01 10:07:22 +01:00
2024-01-08 10:39:12 +01:00
2024-02-20 13:36:34 +01:00
2022-07-14 11:52:29 +02:00
2022-07-14 11:52:29 +02:00
2024-01-08 10:39:12 +01:00
2023-12-21 15:31:25 +01:00
2022-02-22 09:35:49 +01:00
2022-03-01 10:07:22 +01:00
2023-08-15 10:22:23 +02:00
2024-03-07 17:18:50 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2024-01-05 10:17:44 -08:00
2023-12-10 17:21:41 -08:00
2022-03-14 15:09:27 +01:00
2023-04-12 15:01:09 +02:00
2023-12-10 17:21:40 -08:00
2023-12-10 17:21:41 -08:00
2022-03-01 10:07:22 +01:00
2024-01-08 10:39:12 +01:00
2023-02-19 09:28:30 +01:00
2023-12-10 17:21:38 -08:00
2024-01-08 10:39:12 +01:00
2024-01-08 10:39:12 +01:00
2022-03-01 10:07:22 +01:00
2022-03-01 10:07:22 +01:00
2022-02-25 09:36:05 +01:00
2022-07-14 11:52:29 +02:00
2023-04-12 15:01:09 +02:00