K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-03-07T18:08:09.000000Z K 7 svn:log V 434 MFC: Close some races between procfs/ptrace and exit1() by changing exit1() to block until any current PHOLD's are released. This includes Simplifying the cleanup code in kern_ptrace() and removing the now unnecessary vmspace ref counting magic from proc_rwmem(). Also, the locking for ptrace_single_step(), ptrace_set_pc(), and ptrace_clear_single_step() have been fixed to be consistent across the tree. Approved by: re (scottl) END