Messages in this thread | | | Date | Thu, 7 May 2009 10:31:02 +0200 | From | Oleg Nesterov <> | Subject | Re: [RFC PATCH 3/3a] ptrace: add _ptrace_may_access() |
| |
On 05/07, Ingo Molnar wrote: > > * Oleg Nesterov <oleg@redhat.com> wrote: > > > /* the callers of ptrace_may_access should be fixed */ > > > > int ptrace_may_access(struct task_struct *task, unsigned int mode) > > Sigh, NAK, for the reasons explained in the previous mails.
Agreed, but what about security_operations->ptrace_may_access ?
It has the same (bad) name, but returns the error code or 0 on success.
Oleg.
| |