Re: ptrace and ORIG_EAX register

Jeff Dike (jdike@karaya.com)
Sat, 30 Oct 1999 21:36:35 -0400


> Is there a specific reason for this code?
> arch/i386/kernel/ptrace.c:288-293 [kernel 2.2.13]
> static int putreg(struct task_struct *child,
> unsigned long regno, unsigned long value) {
> switch (regno >> 2) { --> case ORIG_EAX: -->
> return -EIO;

It's gone in the development tree. Me and a few other people made some noise
about it, and Linus made it go away.

Just curious, what do you need that for?

Jeff

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