Date: Wed, 31 Dec 2008 11:12:24 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/openbsm Makefile.am Makefile.in NEWS README TODO VERSION configure configure.ac src/contrib/openbsm/bin Makefile.in src/contrib/openbsm/bin/audit Makefile.am Makefile.in audit.8 audit.c src/contrib/openbsm/bin/auditd Makefile.am ... Message-ID: <200812311117.mBVBHf4u083942@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2008-12-31 11:12:24 UTC
FreeBSD src repository
Modified files:
contrib/openbsm Makefile.am Makefile.in NEWS README TODO
VERSION configure configure.ac
contrib/openbsm/bin Makefile.in
contrib/openbsm/bin/audit Makefile.am Makefile.in audit.8
audit.c
contrib/openbsm/bin/auditd Makefile.am Makefile.in
audit_warn.c auditd.8 auditd.c
auditd.h
contrib/openbsm/bin/auditfilterd Makefile.in
contrib/openbsm/bin/auditreduce Makefile.in auditreduce.c
contrib/openbsm/bin/praudit Makefile.in
contrib/openbsm/bsm Makefile.am Makefile.in audit_uevents.h
libbsm.h
contrib/openbsm/compat endian.h
contrib/openbsm/config config.h.in
contrib/openbsm/etc audit_event
contrib/openbsm/libbsm Makefile.am Makefile.in au_token.3
audit_submit.3 bsm_audit.c bsm_class.c
bsm_control.c bsm_event.c bsm_io.c
bsm_mask.c bsm_token.c bsm_user.c
bsm_wrappers.c libbsm.3
contrib/openbsm/man Makefile.in audit.log.5
contrib/openbsm/modules Makefile.in
contrib/openbsm/modules/auditfilter_noop Makefile.in
contrib/openbsm/sys Makefile.in
contrib/openbsm/sys/bsm Makefile.am Makefile.in audit.h
audit_internal.h audit_kevents.h
audit_record.h
contrib/openbsm/test Makefile.in
contrib/openbsm/test/bsm Makefile.in generate.c
contrib/openbsm/test/reference arg32_record data_record
file_record header32_token
in_addr_record ip_record
ipc_record iport_record
opaque_record path_record
process32_record
process32ex_record-IPv4
process32ex_record-IPv6
process64_record
process64ex_record-IPv4
process64ex_record-IPv6
return32_record return32_token
seq_record subject32_record
subject32ex_record text_record
zonename_record
contrib/openbsm/tools Makefile.in
lib Makefile
lib/libbsm Makefile
share/mk bsd.libnames.mk
sys/bsm audit.h audit_internal.h audit_kevents.h
audit_record.h
sys/security/audit audit_bsm_token.c
usr.sbin/auditd Makefile
Added files:
contrib/openbsm/bin/auditd auditd_darwin.c auditd_fbsd.c
contrib/openbsm/bsm auditd_lib.h
contrib/openbsm/libauditd Makefile.am Makefile.in auditd_lib.c
contrib/openbsm/libbsm au_errno.3 bsm_errno.c
contrib/openbsm/sys/bsm audit_errno.h
contrib/openbsm/test/reference E2BIG_record EACCES_record
EBADF_record EBUSY_record
ECHILD_record EDEADLK_record
EEXIST_record EFAULT_record
EFBIG_record EINTR_record
EINVAL_record EIO_record
EISDIR_record EMFILE_record
EMLINK_record ENFILE_record
ENODEV_record ENOENT_record
ENOEXEC_record ENOMEM_record
ENOSPC_record ENOTBLK_record
ENOTDIR_record ENOTTY_record
ENXIO_record EPERM_record
EPIPE_record EROFS_record
ESPIPE_record ESRCH_record
ETXTBSY_record EXDEV_record
socketex_record socketex_token
lib/libauditd Makefile
sys/bsm audit_errno.h
sys/security/audit audit_bsm_errno.c
Log:
SVN rev 186647 on 2008-12-31 11:12:24Z by rwatson
Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Add libauditd build parts and add to auditd's linkage;
force libbsm to build before libauditd.
OpenBSM history for imported revisions below for reference.
MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project
OpenBSM 1.1 alpha 4
- With the addition of BSM error number mapping, we also need to map the
local error number passed to audit_submit(3) to a BSM error number,
rather than have the caller perform that conversion.
- Reallocate user audit events to avoid collisions with Solaris; adopt a
more formal allocation scheme, and add some events allocated in Solaris
that will be of immediate use on other platforms.
- Add an event for Calife.
- Add au_strerror(3), which allows generating strings for BSM errors
directly, rather than requiring applications to map to the local error
space, which might not be able to entirely represent the BSM error
number space.
- Major auditd rewrite for launchd(8) support. Add libauditd library
that is shared between launchd and auditd.
- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for
(re)starting auditing under launchd(8) on Mac OS X.
- Add 'current' symlink to active audit trail.
- Add crash recovery of previous audit trail file when detected on audit
startup that it has not been properly terminated.
- Add the event AUE_audit_recovery to indicated when an audit trail file
has been recovered from not being properly terminated. This event is
stored in the new audit trail file and includes the path of recovered
audit trail file.
- Mac OS X and FreeBSD dependent code in auditd.c is separated into
auditd_darwin.c and auditd_fbsd.c files.
- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system
calls.
- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
- Add support for NOTICE level logging.
OpenBSM 1.1 alpha 3
- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
between BSM error numbers (largely the Solaris definitions) and local
errno(2) values for 32-bit and 64-bit return tokens. This is required
as operating systems don't agree on some of the values of more recent
error numbers.
- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the
total size for the token. This buge.
- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.
Revision Changes Path
1.3 +10 -2 src/contrib/openbsm/Makefile.am
1.3 +6 -10 src/contrib/openbsm/Makefile.in
1.2 +46 -1 src/contrib/openbsm/NEWS
1.3 +3 -2 src/contrib/openbsm/README
1.3 +3 -1 src/contrib/openbsm/TODO
1.3 +1 -1 src/contrib/openbsm/VERSION
1.3 +1 -1 src/contrib/openbsm/bin/Makefile.in
1.3 +5 -5 src/contrib/openbsm/bin/audit/Makefile.am
1.3 +8 -8 src/contrib/openbsm/bin/audit/Makefile.in
1.3 +19 -4 src/contrib/openbsm/bin/audit/audit.8
1.3 +27 -6 src/contrib/openbsm/bin/audit/audit.c
1.3 +9 -9 src/contrib/openbsm/bin/auditd/Makefile.am
1.3 +22 -19 src/contrib/openbsm/bin/auditd/Makefile.in
1.3 +5 -10 src/contrib/openbsm/bin/auditd/audit_warn.c
1.3 +41 -14 src/contrib/openbsm/bin/auditd/auditd.8
1.3 +376 -818 src/contrib/openbsm/bin/auditd/auditd.c
1.3 +26 -13 src/contrib/openbsm/bin/auditd/auditd.h
1.1 +484 -0 src/contrib/openbsm/bin/auditd/auditd_darwin.c (new)
1.1 +272 -0 src/contrib/openbsm/bin/auditd/auditd_fbsd.c (new)
1.3 +1 -1 src/contrib/openbsm/bin/auditfilterd/Makefile.in
1.3 +1 -1 src/contrib/openbsm/bin/auditreduce/Makefile.in
1.3 +2 -2 src/contrib/openbsm/bin/auditreduce/auditreduce.c
1.3 +1 -1 src/contrib/openbsm/bin/praudit/Makefile.in
1.3 +2 -1 src/contrib/openbsm/bsm/Makefile.am
1.3 +2 -1 src/contrib/openbsm/bsm/Makefile.in
1.3 +68 -28 src/contrib/openbsm/bsm/audit_uevents.h
1.1 +105 -0 src/contrib/openbsm/bsm/auditd_lib.h (new)
1.3 +26 -6 src/contrib/openbsm/bsm/libbsm.h
1.2 +3 -6 src/contrib/openbsm/compat/endian.h
1.3 +6 -0 src/contrib/openbsm/config/config.h.in
1.3 +78 -15 src/contrib/openbsm/configure
1.3 +20 -5 src/contrib/openbsm/configure.ac
1.11 +108 -19 src/contrib/openbsm/etc/audit_event
1.1 +17 -0 src/contrib/openbsm/libauditd/Makefile.am (new)
1.1 +474 -0 src/contrib/openbsm/libauditd/Makefile.in (new)
1.1 +867 -0 src/contrib/openbsm/libauditd/auditd_lib.c (new)
1.3 +3 -1 src/contrib/openbsm/libbsm/Makefile.am
1.3 +10 -8 src/contrib/openbsm/libbsm/Makefile.in
1.1 +111 -0 src/contrib/openbsm/libbsm/au_errno.3 (new)
1.3 +11 -1 src/contrib/openbsm/libbsm/au_token.3
1.3 +5 -2 src/contrib/openbsm/libbsm/audit_submit.3
1.3 +22 -2 src/contrib/openbsm/libbsm/bsm_audit.c
1.3 +31 -1 src/contrib/openbsm/libbsm/bsm_class.c
1.3 +83 -1 src/contrib/openbsm/libbsm/bsm_control.c
1.1 +642 -0 src/contrib/openbsm/libbsm/bsm_errno.c (new)
1.3 +25 -1 src/contrib/openbsm/libbsm/bsm_event.c
1.3 +70 -32 src/contrib/openbsm/libbsm/bsm_io.c
1.3 +15 -1 src/contrib/openbsm/libbsm/bsm_mask.c
1.3 +144 -50 src/contrib/openbsm/libbsm/bsm_token.c
1.3 +23 -1 src/contrib/openbsm/libbsm/bsm_user.c
1.3 +39 -18 src/contrib/openbsm/libbsm/bsm_wrappers.c
1.2 +65 -47 src/contrib/openbsm/libbsm/libbsm.3
1.3 +1 -1 src/contrib/openbsm/man/Makefile.in
1.3 +16 -16 src/contrib/openbsm/man/audit.log.5
1.3 +1 -1 src/contrib/openbsm/modules/Makefile.in
1.3 +1 -1 src/contrib/openbsm/modules/auditfilter_noop/Makefile.in
1.2 +1 -1 src/contrib/openbsm/sys/Makefile.in
1.2 +2 -1 src/contrib/openbsm/sys/bsm/Makefile.am
1.2 +4 -3 src/contrib/openbsm/sys/bsm/Makefile.in
1.2 +37 -4 src/contrib/openbsm/sys/bsm/audit.h
1.1 +214 -0 src/contrib/openbsm/sys/bsm/audit_errno.h (new)
1.2 +2 -2 src/contrib/openbsm/sys/bsm/audit_internal.h
1.2 +81 -4 src/contrib/openbsm/sys/bsm/audit_kevents.h
1.2 +16 -18 src/contrib/openbsm/sys/bsm/audit_record.h
1.3 +1 -1 src/contrib/openbsm/test/Makefile.in
1.3 +1 -1 src/contrib/openbsm/test/bsm/Makefile.in
1.2 +415 -25 src/contrib/openbsm/test/bsm/generate.c
1.1 +2 -0 src/contrib/openbsm/test/reference/E2BIG_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EACCES_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EBADF_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EBUSY_record (new)
1.1 +3 -0 src/contrib/openbsm/test/reference/ECHILD_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EDEADLK_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EEXIST_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EFAULT_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EFBIG_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EINTR_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EINVAL_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EIO_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EISDIR_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EMFILE_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EMLINK_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENFILE_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENODEV_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENOENT_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENOEXEC_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENOMEM_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENOSPC_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENOTBLK_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENOTDIR_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENOTTY_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ENXIO_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EPERM_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EPIPE_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EROFS_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ESPIPE_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ESRCH_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/ETXTBSY_record (new)
1.1 +2 -0 src/contrib/openbsm/test/reference/EXDEV_record (new)
1.2 +2 -2 src/contrib/openbsm/test/reference/arg32_record
1.2 +2 -2 src/contrib/openbsm/test/reference/data_record
1.2 +2 -2 src/contrib/openbsm/test/reference/file_record
1.2 +1 -2 src/contrib/openbsm/test/reference/header32_token
1.2 +2 -2 src/contrib/openbsm/test/reference/in_addr_record
1.2 +2 -2 src/contrib/openbsm/test/reference/ip_record
1.2 +2 -2 src/contrib/openbsm/test/reference/ipc_record
1.2 +2 -2 src/contrib/openbsm/test/reference/iport_record
1.2 +2 -2 src/contrib/openbsm/test/reference/opaque_record
1.2 +2 -2 src/contrib/openbsm/test/reference/path_record
1.2 +2 -2 src/contrib/openbsm/test/reference/process32_record
1.2 +2 -2 src/contrib/openbsm/test/reference/process32ex_record-IPv4
1.2 +2 -2 src/contrib/openbsm/test/reference/process32ex_record-IPv6
1.2 +2 -2 src/contrib/openbsm/test/reference/process64_record
1.2 +2 -2 src/contrib/openbsm/test/reference/process64ex_record-IPv4
1.2 +2 -2 src/contrib/openbsm/test/reference/process64ex_record-IPv6
1.2 +2 -2 src/contrib/openbsm/test/reference/return32_record
1.2 +1 -1 src/contrib/openbsm/test/reference/return32_token
1.2 +2 -2 src/contrib/openbsm/test/reference/seq_record
1.1 +2 -0 src/contrib/openbsm/test/reference/socketex_record (new)
1.1 +1 -0 src/contrib/openbsm/test/reference/socketex_token (new)
1.2 +2 -2 src/contrib/openbsm/test/reference/subject32_record
1.2 +3 -2 src/contrib/openbsm/test/reference/subject32ex_record
1.2 +2 -2 src/contrib/openbsm/test/reference/text_record
1.2 +2 -2 src/contrib/openbsm/test/reference/zonename_record
1.3 +1 -1 src/contrib/openbsm/tools/Makefile.in
1.235 +3 -1 src/lib/Makefile
1.1 +22 -0 src/lib/libauditd/Makefile (new)
1.9 +5 -0 src/lib/libbsm/Makefile
1.110 +1 -0 src/share/mk/bsd.libnames.mk
1.13 +24 -3 src/sys/bsm/audit.h
1.1 +215 -0 src/sys/bsm/audit_errno.h (new)
1.12 +1 -1 src/sys/bsm/audit_internal.h
1.17 +80 -3 src/sys/bsm/audit_kevents.h
1.14 +13 -15 src/sys/bsm/audit_record.h
1.1 +642 -0 src/sys/security/audit/audit_bsm_errno.c (new)
1.21 +125 -77 src/sys/security/audit/audit_bsm_token.c
1.3 +3 -3 src/usr.sbin/auditd/Makefile
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812311117.mBVBHf4u083942>
