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
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 
  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
  Approved by:    re (scottl)
  Revision   Changes    Path  +24 -3     src/sys/alpha/alpha/machdep.c  +4 -0      src/sys/alpha/alpha/trap.c   +15 -1     src/sys/arm/arm/machdep.c    +4 -0      src/sys/arm/arm/undefined.c   +8 -0      src/sys/fs/pseudofs/pseudofs_vnops.c   +6 -0      src/sys/i386/linux/linux_ptrace.c  +2 -0      src/sys/ia64/ia64/machdep.c  +22 -5     src/sys/kern/kern_exit.c  +16 -2     src/sys/kern/kern_kse.c  +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