git: kernel: Fixup KERN_PROC_PATHNAME sysctl

Markus Pfeiffer profmakx at
Sat Mar 8 17:17:55 PST 2014

commit 35c7df0f4f27546af06ca79739de2787af052ad5
Author: Markus Pfeiffer <markus.pfeiffer at>
Date:   Sun Mar 9 01:15:10 2014 +0000

    kernel: Fixup KERN_PROC_PATHNAME sysctl
    The code for the sysctl uses pfind, which PHOLDs the process
    if a pid is passed to the sysctl, so we PRELE the process
    if necessary.

Summary of changes:
 sys/kern/kern_proc.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list