Re: ptrace PTRACE_PEEKUSER bug ?

Cedric ROUX (roux@ecoledoc.lip6.fr)
Tue, 5 Oct 1999 18:21:50 +0200 (MEST)


Hi kernel hackers,

well by the way the bug was not in the kernel
but in the libc.

The man page says :
RETURN VALUE
On success, zero is returned. On error, -1 is returned,
and errno is set appropriately.

But the code of the libc for ptrace under i386
does a special thing with all the PEEK stuff.

There must be an absurd historical reason behind
it, nope ? :)

Sorry for the noise, the next time I'll check
further before to annoy you.

Sed.

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