diff options
author | marcel <marcel@FreeBSD.org> | 2003-08-15 05:25:06 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-08-15 05:25:06 +0000 |
commit | 77c3cd3d303099ad2d819725741f948ad5ff37d8 (patch) | |
tree | 6290146a54abb5f571d622ed83197b37076b3bc8 /sys/dev/hea | |
parent | 5f9e1c9d2c9abe81bdafc8d2a4a2ce5ef5f487fb (diff) | |
download | FreeBSD-src-77c3cd3d303099ad2d819725741f948ad5ff37d8.zip FreeBSD-src-77c3cd3d303099ad2d819725741f948ad5ff37d8.tar.gz |
Add or finish support for machine dependent ptrace requests. When we
check for permissions, do it for all requests, not the known requests.
Later when we actually service the request we deal with the invalid
requests we previously caught earlier.
This commit changes the behaviour of the ptrace(2) interface for
boundary cases such as an unknown request without proper permissions.
Previously we would return EINVAL. Now we return EBUSY or EPERM.
Platforms need to define __HAVE_PTRACE_MACHDEP when they have MD
requests. This makes the prototype of cpu_ptrace() visible and
introduces a call to this function for all requests greater or
equal to PT_FIRSTMACH.
Silence on: audit
Diffstat (limited to 'sys/dev/hea')
0 files changed, 0 insertions, 0 deletions