diff options
author | sef <sef@FreeBSD.org> | 1997-12-09 05:03:41 +0000 |
---|---|---|
committer | sef <sef@FreeBSD.org> | 1997-12-09 05:03:41 +0000 |
commit | f33f94c5aed09626c563e79cedcad69707872c24 (patch) | |
tree | 14313d0c07d581a7a4492c0087b9236882ae2ad8 /sys/miscfs/procfs/procfs_ctl.c | |
parent | 6dd7dcc53b675eb0167c348bd2a4b6f527ec387c (diff) | |
download | FreeBSD-src-f33f94c5aed09626c563e79cedcad69707872c24.zip FreeBSD-src-f33f94c5aed09626c563e79cedcad69707872c24.tar.gz |
Code to prevent a panic caused by procfs_exit(). Note that i don't know
what is teh root cause -- but, sometimes, a procfs vnode in pfshead is
apparantly corrupt (or a UFS vnode instead). Without this patch, I can
get it to panic by doing (in csh)
while (1)
ps auxwww
end
and it will panic when the PID's wrap. With it, it does not panic.
Yes -- I know that this is NOT the right way to fix it. But I haven't
been able to get it to panic yet (which confuses me). I am going to
be looking into the vgone() code now, as that may be a part of it.
Diffstat (limited to 'sys/miscfs/procfs/procfs_ctl.c')
0 files changed, 0 insertions, 0 deletions