Files
twx-linux/include/linux
Eric W. Biederman 74a17e0f9b ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP
commit 4a3d2717d1 upstream.

xtensa is the last user of the PT_SINGLESTEP flag.  Changing tsk->ptrace in
user_enable_single_step and user_disable_single_step without locking could
potentiallly cause problems.

So use a thread info flag instead of a flag in tsk->ptrace.  Use TIF_SINGLESTEP
that xtensa already had defined but unused.

Remove the definitions of PT_SINGLESTEP and PT_BLOCKSTEP as they have no more users.

Cc: stable@vger.kernel.org
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lkml.kernel.org/r/20220505182645.497868-4-ebiederm@xmission.com
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-14 16:52:28 +02:00
..
2017-10-08 10:26:06 +02:00
2018-02-28 10:18:33 +01:00
2019-11-25 09:53:14 +01:00
2017-07-12 15:01:02 +02:00
2021-12-08 08:45:06 +01:00
2021-12-08 08:45:06 +01:00
2017-08-06 18:59:43 -07:00
2021-02-03 23:19:50 +01:00
2021-03-30 14:41:41 +02:00
2018-10-10 08:53:18 +02:00
2020-04-02 17:20:40 +02:00
2021-11-26 11:48:18 +01:00
2017-08-24 17:12:19 -07:00
2022-01-27 08:47:43 +01:00
2021-07-11 12:46:40 +02:00
2020-11-18 18:26:29 +01:00
2020-03-20 09:07:43 +01:00
2017-08-24 17:12:21 -07:00
2020-04-02 17:20:39 +02:00
2017-08-30 10:21:40 +02:00
2018-11-13 11:17:02 -08:00
2020-12-11 13:38:00 +01:00
2017-12-25 14:23:37 +01:00
2020-04-02 17:20:39 +02:00
2021-12-14 10:04:48 +01:00
2018-12-05 19:42:42 +01:00