Kernel - Fix numerous procfs/ptrace issues
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Aug 2012 00:18:31 +0000 (17:18 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Aug 2012 00:18:31 +0000 (17:18 -0700)
commitb2a6ad87f4492ca7904a787b7a86fcc03d017db8
treef3a8e1e1f7e7a3a7728c1b707920d1958b9ab74b
parent1923035ecf36a2a73fe11109eb2d83fefddb11ec
Kernel - Fix numerous procfs/ptrace issues

* Fix interactions during exec and exit.  This should fix truss
  (bug 2313).

* Reset p_* fields related to tracing on last procfs close for the
  process.
sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
sys/kern/kern_exec.c
sys/kern/kern_exit.c
sys/kern/kern_proc.c
sys/sys/proc.h
sys/vfs/procfs/procfs.h
sys/vfs/procfs/procfs_subr.c
sys/vfs/procfs/procfs_vnops.c