Re: [patch v2 4/4] ptrace: Add support for generic PTRACE_GETREGSET/PTRACE_SETREGSET

H.J. Lu
2010-02-10T04:24:38Z

On Tue, Feb 9, 2010 at 7:07 PM, Roland McGrath <roland@redhat.com> wrote:
>> > There is no need for a global function for this.  It should all be static
>> > in kernel/ptrace.c, called only by ptrace_request()/compat_ptrace_request().
>> >
>>
>> Won't it be called by ptrace emulation in utrace?
>
> I guess I don't really understand the question.  I'm not aware of any
> patches where any such things are done anywhere except the existing
> ptrace_request and compat_ptrace_request functions in kernel/ptrace.c.
>

I guess it isn't needed to be global then.

--
H.J.