Re: [patch 1/2] ptrace, security: rename ptrace_may_access =>ptrace_access_check

From: Ingo Molnar
Date: Fri May 15 2009 - 15:35:16 EST



* Américo Wang <xiyou.wangcong@xxxxxxxxx> wrote:

> On Mon, May 11, 2009 at 9:39 PM, Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > I.e. any function name that can be plain-English answered with:
> > 'yes' or 'no' is a red flag for a retval function.
> >
> > You cannot answer ptrace_access_check() with 'yes' or 'no'. You
> > could if it was ptrace_access_ok() or ptrace_may_access.
>
> Aha, then why do you agree with this patch? You don't see
> ptrace_access_check() returns bool?? :-)

except that it doesnt ...

Ingo
--
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/