summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_mem.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-01-24 18:29:00 +0000
committerpeter <peter@FreeBSD.org>1996-01-24 18:29:00 +0000
commit372aa68f42770d9c66509d34f90c593eadc9069c (patch)
tree5ae2be9fdd5205120a370f7e6721742906ca7f19 /sys/fs/procfs/procfs_mem.c
parent021011c8f8c5a4913dd07d06c30889167dcfa85a (diff)
downloadFreeBSD-src-372aa68f42770d9c66509d34f90c593eadc9069c.zip
FreeBSD-src-372aa68f42770d9c66509d34f90c593eadc9069c.tar.gz
Major fixes for ptrace()...
PT_ATTACH/PT_DETACH implemented now and fully operational. PT_{GET|SET}{REGS|FPREFS} implemented now, using code shared with procfs PT_{READ|WRITE}_{I|D} now uses code shared with procfs ptrace opcodes now fully permission checked, including ownerships. doing an operation to the u-area on a swapped process should no longer panic. running gdb as root works for me now, where it didn't before. general cleanup.. Note, that this has some tightening of permissions/access checks etc. Some of these may be going too far.. In particular, the "owner" of the traced process is enforced. The process that created or attached to the traced process is now the only one that can "do" things to it.
Diffstat (limited to 'sys/fs/procfs/procfs_mem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud