summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_util.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-10-30 23:09:19 +0000
committerrwatson <rwatson@FreeBSD.org>2008-10-30 23:09:19 +0000
commit81bbfda7548109c81dc0ad19b822cf8b3df1af42 (patch)
tree6aa27f09557c04510cc92996ebc5f6cee4c17f4d /sys/compat/linux/linux_util.c
parent7e2b08356c19e6c783af571cd6c278cd0412eb84 (diff)
downloadFreeBSD-src-81bbfda7548109c81dc0ad19b822cf8b3df1af42.zip
FreeBSD-src-81bbfda7548109c81dc0ad19b822cf8b3df1af42.tar.gz
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. MFC after: 2 months
Diffstat (limited to 'sys/compat/linux/linux_util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud