diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-04 16:45:52 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-04 16:45:52 +0000 |
commit | ab71945909ae42af4e5fa0802d62298315b31281 (patch) | |
tree | bf80089d9b6069156fa54061c123d3e0d1dd6377 /contrib/openbsm/bin/audit/audit.c | |
parent | 0b2cf89651826909f5fdc3b98f24a31060a0f915 (diff) | |
download | FreeBSD-src-ab71945909ae42af4e5fa0802d62298315b31281.zip FreeBSD-src-ab71945909ae42af4e5fa0802d62298315b31281.tar.gz |
Vendor branch import of TrustedBSD OpenBSM 1.0 alpha 5:
- Update install notes to indicate /etc files are to be installed manually.
- On systems without LOG_SECURITY, use LOG_AUTH.
- Convert to autoconf/automake in order to move to a more portable (not
BSD-specific) build infrastructure, and more easy conditional building of
components. Currently, the primary feature loss is that automake does
not have native support for manual symlinks. This will be addressed in a
future OpenBSM release.
- Add compat/queue.h, to be used on systems dated BSD queue macro libraries
(as found on Linux).
- Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the
existing conventions for a CHANGELOG.
- Some private data structures moved from audit.h to audit_internal.h to
prevent inappropriate use by applications and name space pollution.
- Improved detection and use of endian macros using autoconf.
- Avoid non-portable use of struct in6_addr, which is largely opaque.
- Avoid leaking BSD kernel socket related token code to user space in
bsm_token.c.
- Teach System V IPC calls to look for Linux naming variations for certain
struct ipc_perm fields.
- Test for audit system calls, and if not present, don't build
bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on
those system calls.
- au_close() is not implemented on systems that don't have audit system
calls, but au_close_buffer() is.
- Work around missing BSDisms in bsm_wrapper.c.
- Fix nested includes so including libbsm.h in an application on Linux
picks up the necessary definitions.
Obtained from: TrustedBSD Project
Diffstat (limited to 'contrib/openbsm/bin/audit/audit.c')
-rw-r--r-- | contrib/openbsm/bin/audit/audit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/openbsm/bin/audit/audit.c b/contrib/openbsm/bin/audit/audit.c index 861e4e1..e5744f5 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#5 $ + * $P4: //depot/projects/trustedbsd/openbsm/bin/audit/audit.c#6 $ */ /* * Program to trigger the audit daemon with a message that is either: @@ -44,7 +44,7 @@ #include <sys/queue.h> #include <sys/uio.h> -#include <bsm/audit.h> +#include <bsm/libbsm.h> #include <fcntl.h> #include <stdio.h> |