diff options
author | jhb <jhb@FreeBSD.org> | 2002-04-13 23:19:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-04-13 23:19:13 +0000 |
commit | e9c672efdc402dcaa17cfd89803208da905181ec (patch) | |
tree | a7e62489a41ce1d6c38b426492462b60cf050cbe /usr.bin/make | |
parent | f430ba9802432a5e9145a5b81b8116282a556a12 (diff) | |
download | FreeBSD-src-e9c672efdc402dcaa17cfd89803208da905181ec.zip FreeBSD-src-e9c672efdc402dcaa17cfd89803208da905181ec.tar.gz |
- Change procfs_control()'s first argument to be a thread pointer instead
of a process pointer.
- Move the p_candebug() at the start of procfs_control() a bit to make
locking feasible. We still perform the access check before doing
anything, we just now perform it after acquiring locks.
- Don't lock the sched_lock for TRACE_WAIT_P() and when checking to see if
p_stat is SSTOP. We lock the process while setting p_stat to SSTOP
so locking the process is sufficient to do a read to see if p_stat is
SSTOP or not.
Diffstat (limited to 'usr.bin/make')
0 files changed, 0 insertions, 0 deletions