K 10 svn:author V 3 jhb K 8 svn:date V 27 2002-04-12T21:17:37.000000Z K 7 svn:log V 286 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. END