git: procfs - Fix open() for procfs.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Thu Feb 24 04:56:08 PST 2011


commit 198c0ff23b7bcfe70a955eb8314628bfa05bc1dd
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Thu Feb 24 11:58:36 2011 +0100

    procfs - Fix open() for procfs.
    
    * PFIND() macro has been replaced with function pfs_pfind()
      which will hold a reference to the found proc via pfind()
      or on proc0 in the case no process is found.
    * Fix a case where there was no PRELE() after a pfind()

Summary of changes:
 sys/vfs/procfs/procfs.h       |    2 ++
 sys/vfs/procfs/procfs_subr.c  |   39 ++++++++++++++++++++++++++++++++-------
 sys/vfs/procfs/procfs_vnops.c |   12 ++++++------
 3 files changed, 40 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/198c0ff23b7bcfe70a955eb8314628bfa05bc1dd


-- 
DragonFly BSD source repository





More information about the Commits mailing list