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

Roland McGrath
2010-02-10T03:16:12Z

> > 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.

Thanks,
Roland