Date: Fri, 6 Feb 2009 12:22:00 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/security/audit audit_pipe.c Message-ID: <200902061222.n16CM6rl040487@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2009-02-06 12:22:00 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/security/audit audit_pipe.c
Log:
SVN rev 188227 on 2009-02-06 12:22:00Z by rwatson
Merge r184489 from head to stable/7:
When we drop an audit record going to and audit pipe because the audit
pipe has overflowed, drop the newest, rather than oldest, record. This
makes overflow drop behavior consistent with memory allocation failure
leading to drop, avoids touching the consumer end of the queue from a
producer, and lowers the CPU overhead of dropping a record by dropping
before memory allocation and copying.
Obtained from: Apple, Inc.
Revision Changes Path
1.11.2.5 +9 -13 src/sys/security/audit/audit_pipe.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902061222.n16CM6rl040487>
