Re: [PATCH] kernel:ptrace - Fix typo in comment in function __ptrace_unlink().

From: Valdis . Kletnieks
Date: Sat May 23 2015 - 21:20:04 EST


On Sat, 23 May 2015 10:38:35 +0530, Shailendra Verma said:

> --- a/kernel/ptrace.c
> +++ b/kernel/ptrace.c
> @@ -108,7 +108,7 @@ void __ptrace_unlink(struct task_struct *child)
>
> /*
> * If transition to TASK_STOPPED is pending or in TASK_TRACED, kick
> - * @child in the butt. Note that @resume should be used iff @child
> + * @child in the butt. Note that @resume should be used if @child

Probably incorrect, as it appears to be using 'iff' in the mathematical
sense of 'if and only if'....

Attachment: pgpsYSPYxiwlr.pgp
Description: PGP signature