Source-Changes archive

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

CVS commit: src/sys/miscfs/procfs



Module Name:    src
Committed By:   pooka
Date:           Fri Feb 16 21:37:56 UTC 2007

Modified Files:
        src/sys/miscfs/procfs: procfs_vnops.c

Log Message:
In lookup, when checking for procfs process node validity, target the
process we're trying to get information about through procfs, not
the caller of lookup.

fixes 'ls -l /proc/*/file' panic, which would occur when trying to
lookup "file" for a kernel thread, which doesn't have p->p_textvp.


To generate a diff of this commit:
cvs rdiff -r1.147 -r1.148 src/sys/miscfs/procfs/procfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index