git: DragonFly_RELEASE_3_0 Kernel - Fix numerous procfs/ptrace issues

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 20 21:04:39 PDT 2012


commit 7c37ea07d05e9d655d81a67590bed953314af717
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/7c37ea07d05e9d655d81a67590bed953314af717


-- 
DragonFly BSD source repository





More information about the Commits mailing list