Date: Tue, 7 Feb 2006 23:44:31 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/security/audit audit.c Message-ID: <200602072344.k17NiV1W024365@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-02-07 23:44:31 UTC
FreeBSD src repository
Modified files:
sys/security/audit audit.c
Log:
Acquire vnode lock around call to VOP_GETATTR() in audit_record_write().
In the future, we may want to acquire the lock early in the function and
hold it across calls to vn_rdwr(), etc, to avoid multiple acquires.
Spotted by: kris (bugmagnet)
Obtained from: TrustedBSD Project
Revision Changes Path
1.6 +2 -0 src/sys/security/audit/audit.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602072344.k17NiV1W024365>
