cvs commit: src/sys/alpha/alpha machdep.c trap.c src/sys/arm/arm
machdep.c undefined.c src/sys/fs/pseudofs pseudofs_vnops.c
src/sys/i386/linux linux_ptrace.c src/sys/ia64/ia64 machdep.c
src/sys/kern kern_exit.c kern_kse.c sys_process.c src/sys/sys ...
John Baldwin
jhb at FreeBSD.org
Tue Mar 7 10:08:11 PST 2006
jhb 2006-03-07 18:08:10 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/alpha/alpha machdep.c trap.c
sys/arm/arm machdep.c undefined.c
sys/fs/pseudofs pseudofs_vnops.c
sys/i386/linux linux_ptrace.c
sys/ia64/ia64 machdep.c
sys/kern kern_exit.c kern_kse.c sys_process.c
sys/sys proc.h
Log:
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)
Revision Changes Path
1.235.2.2 +24 -3 src/sys/alpha/alpha/machdep.c
1.123.2.1 +4 -0 src/sys/alpha/alpha/trap.c
1.16.2.1 +15 -1 src/sys/arm/arm/machdep.c
1.8.2.1 +4 -0 src/sys/arm/arm/undefined.c
1.56.2.3 +8 -0 src/sys/fs/pseudofs/pseudofs_vnops.c
1.16.2.1 +6 -0 src/sys/i386/linux/linux_ptrace.c
1.200.2.3 +2 -0 src/sys/ia64/ia64/machdep.c
1.263.2.6 +22 -5 src/sys/kern/kern_exit.c
1.214.2.6 +16 -2 src/sys/kern/kern_kse.c
1.131.2.3 +60 -104 src/sys/kern/sys_process.c
1.432.2.4 +4 -0 src/sys/sys/proc.h
More information about the cvs-src
mailing list