Re: Ptrace documentation, draft #1

From: Denys Vlasenko
Date: Wed May 18 2011 - 11:02:39 EST


On Mon, May 16, 2011 at 6:53 PM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>> I think resuming from signal delivery trap
>> should be the only place where @data means signo.
>
> Agreed, it would be more clean/simple/understandable.

I think ptrace API never promised that it will be possible
to "create new signal" by passing non-zero data - only
that the already pending signal can be passed, altered
or suppressed. If there *are* cases where "create new signal"
currently works, it's a quirk.

I changed doc to reflect this. If we tighten it up so that we can state
that all such attempts will be ignored, we can update docs.

--
vda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/