Date: Sat, 25 Oct 2003 09:14:09 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.c Message-ID: <200310251614.h9PGE925019013@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2003/10/25 09:14:09 PDT
FreeBSD src repository
Modified files:
sys/kern kern_sig.c
Log:
When generate a core dump, use advisory locking in an advisory way:
if we do acquire an advisory lock, great! We'll release it later.
However, if we fail to acquire a lock, we perform the coredump
anyway. This problem became particularly visible with NFS after
the introduction of rpc.lockd: if the lock manager isn't running,
then locking calls will fail, aborting the core dump (resulting in
a zero-byte dump file).
Reported by: Yogeshwar Shenoy <ynshenoy@alumni.cs.ucsb.edu>
Revision Changes Path
1.260 +6 -6 src/sys/kern/kern_sig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310251614.h9PGE925019013>
