HomeFreeBSD

Rework ptrace(2) to be more locking friendly. We do any needed copyin()'s

Description

Rework ptrace(2) to be more locking friendly. We do any needed copyin()'s
and acquire the proctree_lock if needed first. Then we lock the process
if necessary and fiddle with it as appropriate. Finally we drop locks and
do any needed copyout's. This greatly simplifies the locking.

Details

Provenance
jhbAuthored on Apr 12 2002, 9:17 PM
Parents
rGe6b0d580e743: Add my Copyright on this file so I can allow others to use it
Branches
Unknown
Tags
Unknown

Event Timeline