[PATCH v3 09/11] ptrace: Don't change __state
Sebastian Andrzej Siewior
bigeasy at linutronix.de
Thu May 5 05:50:31 PDT 2022
On 2022-05-04 17:40:56 [-0500], Eric W. Biederman wrote:
> Stop playing with tsk->__state to remove TASK_WAKEKILL while a ptrace
> command is executing.
>
> Instead remove TASK_WAKEKILL from the definition of TASK_TRACED, and
> implemention a new jobctl flag TASK_PTRACE_FROZEN. This new flag is
implement ?
> set in jobctl_freeze_task and cleared when ptrace_stop is awoken or in
> jobctl_unfreeze_task (when ptrace_stop remains asleep).
Sebastian
More information about the linux-um
mailing list