No PTRACE_READDATA for archs other than SPARC?

Pradeep Padala (ppadala@cise.ufl.edu)
Sun, 19 May 2002 23:08:36 -0400 (EDT)


Hi,
I was trying to understand ptrace code in kernel. It seems there's
no PTRACE_READDATA for architectures other than sparc and sparc64.
There's a function named ptrace_readdata() in kernel/ptrace.c but I
couldn't find a way to invoke it from user space. Is the feature
missing? or Is it intended?
Another thing I noticed, the prototype for do_ptrace() in
arch/sparc/kernel/ptrace.c is

asmlinkage void do_ptrace(struct pt_regs *regs)

I thought it should be some thing like
asmlinkage int sys_ptrace(long request, long pid, long addr, long
data)

It would be great if some one can answer it.

Thank You,
Pradeep Padala

-- 
Perfection is our goal, excellence will be tolerated. -- J. Yahl
--

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