git: Kernel - Fix numerous procfs/ptrace issues

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 15 17:19:50 PDT 2012


commit b2a6ad87f4492ca7904a787b7a86fcc03d017db8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Aug 15 17:18:31 2012 -0700

    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.

Summary of changes:
 .../linux/i386/linprocfs/linprocfs_vnops.c         |   22 +++++++++++++-
 sys/kern/kern_exec.c                               |   14 ++++++++-
 sys/kern/kern_exit.c                               |    2 +-
 sys/kern/kern_proc.c                               |   13 ++++++++
 sys/sys/proc.h                                     |    2 +-
 sys/vfs/procfs/procfs.h                            |    1 +
 sys/vfs/procfs/procfs_subr.c                       |   30 +++++++++++++++++++-
 sys/vfs/procfs/procfs_vnops.c                      |   20 +++++++++++--
 8 files changed, 95 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2a6ad87f4492ca7904a787b7a86fcc03d017db8


-- 
DragonFly BSD source repository





More information about the Commits mailing list