summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-04-12 21:17:37 +0000
committerjhb <jhb@FreeBSD.org>2002-04-12 21:17:37 +0000
commit6629f872ca4ca0a3a17361b02361639f866571f4 (patch)
tree771128b6412e43a6311eea5296759fb84b4bf8b8 /usr.bin/doscmd
parenta025cc5b24242d6447b687fcdbcb4d4e5ac2bcce (diff)
downloadFreeBSD-src-6629f872ca4ca0a3a17361b02361639f866571f4.zip
FreeBSD-src-6629f872ca4ca0a3a17361b02361639f866571f4.tar.gz
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.
Diffstat (limited to 'usr.bin/doscmd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud