Re: No PTRACE_READDATA for archs other than SPARC?

David S. Miller (davem@redhat.com)
Mon, 03 Jun 2002 21:37:43 -0700 (PDT)


From: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Date: Wed, 29 May 2002 19:49:51 -0400

Not really, we should just get EINVAL (ENOSYS?) back when we try to use
it, right?

I answered this last week, you will get -EIO which turns out to also a
valid return from PTRACE_READDATA. So a backwards compatible way to
test for existence of PTRACE_READDATA is going to be difficult.
-
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/