Files
linux/arch/parisc/kernel
Helge Deller aeca673cc2 parisc: Fix ptrace check on syscall return
commit 8779e05ba8 upstream.

The TIF_XXX flags are stored in the flags field in the thread_info
struct (TI_FLAGS), not in the flags field of the task_struct structure
(TASK_FLAGS).

It seems this bug didn't generate any important side-effects, otherwise it
wouldn't have went unnoticed for 12 years (since v2.6.32).

Signed-off-by: Helge Deller <deller@gmx.de>
Fixes: ecd3d4bc06 ("parisc: stop using task->ptrace for {single,block}step flags")
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-16 12:09:00 +09:00
..
2013-11-07 22:27:20 +01:00
2016-04-14 17:47:19 +02:00
2005-04-16 15:20:36 -07:00
2016-11-25 12:31:59 +01:00
2013-05-05 00:10:41 -04:00
2023-05-15 09:18:57 +09:00
2016-06-04 22:05:07 +02:00