DragonFly BSD
DragonFly commits List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: procfs - Fix open() for procfs.


From: Antonio Huete Jimenez <tuxillo@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Feb 2011 04:54:18 -0800 (PST)

commit 198c0ff23b7bcfe70a955eb8314628bfa05bc1dd
Author: Antonio Huete Jimenez <tuxillo@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]