summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-05-06 00:32:23 +0000
committerrwatson <rwatson@FreeBSD.org>2008-05-06 00:32:23 +0000
commit3b1946ec178b6df4cde4eb680143fceb53ee5ca0 (patch)
tree0d9ad3f0e690a53649c13dffb6a80fadd745f28a /lib
parent4610acbd56d37144ea538a41729ab7b93fd541d1 (diff)
downloadFreeBSD-src-3b1946ec178b6df4cde4eb680143fceb53ee5ca0.zip
FreeBSD-src-3b1946ec178b6df4cde4eb680143fceb53ee5ca0.tar.gz
When testing whether to enter the audit argument gathering code, rather
than checking whether audit is enabled globally, instead check whether the current thread has an audit record. This avoids entering the audit code to collect argument data if auditing is enabled but the current system call is not of interest to audit. MFC after: 1 week Sponsored by: Apple, Inc.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud