summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit_private.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-03-04 17:00:55 +0000
committerrwatson <rwatson@FreeBSD.org>2006-03-04 17:00:55 +0000
commit20bce94704e0ebbe8a06db8b6df5fc462f8b28b3 (patch)
treebe0d56156edfb010e4c88122492dc336354adc17 /sys/security/audit/audit_private.h
parentd39e49362c63ea26bc2cae4fe28cc6bd819845b8 (diff)
downloadFreeBSD-src-20bce94704e0ebbe8a06db8b6df5fc462f8b28b3.zip
FreeBSD-src-20bce94704e0ebbe8a06db8b6df5fc462f8b28b3.tar.gz
Update src/sys/security/audit for OpenBSM 1.0 alpha 5:
- Include audit_internal.h to get definition of internal audit record structures, as it's no longer in audit.h. Forward declare au_record in audit_private.h as not all audit_private.h consumers care about it. - Remove __APPLE__ compatibility bits that are subsumed by configure for user space. - Don't expose in6_addr internals (non-portable, but also cleaner looking). - Avoid nested include of audit.h in audit_private.h. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security/audit/audit_private.h')
-rw-r--r--sys/security/audit/audit_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_private.h b/sys/security/audit/audit_private.h
index c23289f..3ca0115 100644
--- a/sys/security/audit/audit_private.h
+++ b/sys/security/audit/audit_private.h
@@ -233,6 +233,7 @@ struct kaudit_record *audit_new(int event, struct thread *td);
* Functions relating to the conversion of internal kernel audit records to
* the BSM file format.
*/
+struct au_record;
int kaudit_to_bsm(struct kaudit_record *kar,
struct au_record **pau);
int bsm_rec_verify(void *rec);
@@ -259,7 +260,6 @@ void kau_init(void);
#include <sys/fcntl.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
-#include <security/audit/audit.h>
/*
* Some of the BSM tokenizer functions take different parameters in the
OpenPOWER on IntegriCloud