diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-02-11 00:39:23 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-02-11 00:39:23 +0000 |
commit | 0b2cf89651826909f5fdc3b98f24a31060a0f915 (patch) | |
tree | 2466057676bf82de8285107aedb42f759416805f /contrib/openbsm/bin | |
parent | 4fae3f6a4aec0b2ccf88592624f71ae94d961ef8 (diff) | |
download | FreeBSD-src-0b2cf89651826909f5fdc3b98f24a31060a0f915.zip FreeBSD-src-0b2cf89651826909f5fdc3b98f24a31060a0f915.tar.gz |
CVS import OpenBSM 1.0 alpha 4:
- Remove "audit" user example from audit_user, as it's not present on most
systems.
- Add cannot_audit() function non-Darwin systems that wraps auditon();
required by OpenSSH BSM support. Convert Darwin cannot_audit() into a
function rather than a macro.
- Library build fixed on Darwin following include file tweaks. The native
Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so
for now we force bsm_wrappers.c to not perform a nested include of
sys/audit.h.
Obtained from: TrustedBSD Project
Diffstat (limited to 'contrib/openbsm/bin')
-rw-r--r-- | contrib/openbsm/bin/audit/audit.c | 4 | ||||
-rw-r--r-- | contrib/openbsm/bin/auditd/auditd.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/openbsm/bin/audit/audit.c b/contrib/openbsm/bin/audit/audit.c index faf0a7e..861e4e1 100644 --- a/contrib/openbsm/bin/audit/audit.c +++ b/contrib/openbsm/bin/audit/audit.c @@ -30,7 +30,7 @@ * * @APPLE_BSD_LICENSE_HEADER_END@ * - * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#4 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#5 $ */ /* * Program to trigger the audit daemon with a message that is either: @@ -40,8 +40,8 @@ * */ -#include <sys/queue.h> #include <sys/types.h> +#include <sys/queue.h> #include <sys/uio.h> #include <bsm/audit.h> diff --git a/contrib/openbsm/bin/auditd/auditd.c b/contrib/openbsm/bin/auditd/auditd.c index 893e972..0911869 100644 --- a/contrib/openbsm/bin/auditd/auditd.c +++ b/contrib/openbsm/bin/auditd/auditd.c @@ -30,14 +30,14 @@ * * @APPLE_BSD_LICENSE_HEADER_END@ * - * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#11 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#12 $ */ +#include <sys/types.h> #include <sys/dirent.h> #include <sys/mman.h> #include <sys/queue.h> #include <sys/stat.h> -#include <sys/types.h> #include <sys/wait.h> #include <bsm/audit.h> |