freebsd-dev/contrib
Robert Watson 52267f7411 Merge OpenBSM 1.1 alpha 2 from the OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and sys/{bsm,security/audit} (manual merge).

- Add OpenBSM contrib tree to include paths for audit(8) and auditd(8).
- Merge support for new tokens, fixes to existing token generation to
  audit_bsm_token.c.
- Synchronize bsm includes and definitions.

OpenBSM history for imported revisions below for reference.

MFC after:      1 month
Sponsored by:   Apple Inc.
Obtained from:  TrustedBSD Project

--

OpenBSM 1.1 alpha 2

- Include files in OpenBSM are now broken out into two parts: library builds
  required solely for user space, and system includes, which may also be
  required for use in the kernels of systems integrating OpenBSM.  Submitted
  by Stacey Son.
- Configure option --with-native-includes allows forcing the use of native
  include for system includes, rather than the versions bundled with OpenBSM.
  This is intended specifically for platforms that ship OpenBSM, have adapted
  versions of the system includes in a kernel source tree, and will use the
  OpenBSM build infrastructure with an unmodified OpenBSM distribution,
  allowing the customized system includes to be used with the OpenBSM build.
  Submitted by Stacey Son.
- Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s
  or asprintf().  Added compat/strlcpy.h for Linux.
- Remove compatibility defines for old Darwin token constant names; now only
  BSM token names are provided and used.
- Add support for extended header tokens, which contain space for information
  on the host generating the record.
- Add support for setting extended host information in the kernel, which is
  used for setting host information in extended header tokens.  The
  audit_control file now supports a "host" parameter which can be used by
  auditd to set the information; if not present, the kernel parameters won't
  be set and auditd uses unextended headers for records that it generates.

OpenBSM 1.1 alpha 1

- Add option to auditreduce(1) which allows users to invert sense of
  matching, such that BSM records that do not match, are selected.
- Fix bug in audit_write() where we commit an incomplete record in the
  event there is an error writing the subject token.  This was submitted
  by Diego Giagio.
- Build support for Mac OS X 10.5.1 submitted by Eric Hall.
- Fix a bug which resulted in host XML attributes not being arguments so
  that const strings can be passed as arguments to tokens.  This patch was
  submitted by Xin LI.
- Modify the -m option so users can select more then one audit event.
- For Mac OS X, added Mach IPC support for audit trigger messages.
- Fixed a bug in getacna() which resulted in a locking problem on Mac OS X.
- Added LOG_PERROR flag to openlog when -d option is used with auditd.
- AUE events added for Mac OS X Leopard system calls.
2008-12-02 23:26:43 +00:00
..
amd Update for the 6.1.5 import. 2007-12-11 19:16:51 +00:00
bc
bind9 Merge from vendor/bind9/dist as of the 9.4.2-P2 import 2008-09-01 22:54:49 +00:00
binutils Bring these back to HEAD. 2008-05-29 02:43:05 +00:00
bsnmp This commit was generated by cvs2svn to compensate for changes in r176892, 2008-03-07 09:33:29 +00:00
bzip2 Resolve conflicts. 2008-03-20 02:56:24 +00:00
com_err Merge from the vendor branch and resolve conflicts. 2008-05-08 11:01:46 +00:00
cpio Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massive 2008-07-10 02:08:00 +00:00
csup Fix a compiler warning. 2007-11-18 00:25:18 +00:00
cvs Add $FreeBSD$ since we now have local changes. 2008-06-16 17:06:17 +00:00
diff This commit was generated by cvs2svn to compensate for changes in r171490, 2007-07-19 06:57:46 +00:00
expat Update the FREEBSD-upgrade for expat 2.0.1 2008-05-08 13:56:58 +00:00
file This commit was generated by cvs2svn to compensate for changes in r175898, 2008-02-02 18:26:53 +00:00
gcc If arm.h is going to define WCHAR_TYPE, don't assume WCHAR_TYPE_SIZE 2008-09-10 15:47:31 +00:00
gcclibs GCC 4.2.1 release miscellaneous support libraries. 2007-08-14 02:52:47 +00:00
gdb gdb: Remove arm_pc_is_thumb_dummy() and related code. 2008-11-17 16:37:04 +00:00
gdtoa Make strtof() respect the current rounding mode. 2008-09-03 07:32:06 +00:00
gnu-sort
gperf
groff MFV: recent mdoc(7) changes. 2007-10-04 04:38:23 +00:00
hostapd This commit was generated by cvs2svn to compensate for changes in r178363, 2008-04-20 21:39:06 +00:00
ipfilter Fix build when WITHOUT_DYNAMICROOT is specified in src.conf(5). 2008-08-04 22:45:27 +00:00
less Resolve conflicts. 2007-11-26 08:58:07 +00:00
libbegemot
libf2c
libobjc GCC 4.2.1 release Objective C runtime support code. 2007-08-14 02:51:20 +00:00
libpcap Implement zero-copy bpf(4) buffer or "zbuf" support for libpcap. A slightly 2008-09-16 20:32:29 +00:00
libreadline Update after import 2007-11-07 04:44:11 +00:00
libstdc++ GCC 4.2.1 release C++ standard library and runtime support code. 2007-08-14 02:49:11 +00:00
lukemftp
lukemftpd
ncurses - Update instructions for Subversion import 2008-11-15 09:30:09 +00:00
netcat Document freebsd extensions to netcat a bit better: 2008-05-10 18:50:45 +00:00
ngatm
ntp Merge from vendor/ntp/dist: r182856: 2008-09-07 22:15:41 +00:00
nvi - Sort the headers per style(9) 2007-06-06 11:14:30 +00:00
one-true-awk Document the bwk_20071023 import. 2007-10-25 12:38:34 +00:00
openbsm Merge OpenBSM 1.1 alpha 2 from the OpenBSM vendor branch to head, both 2008-12-02 23:26:43 +00:00
openpam As per discussion, commit experimental metadata for my contrib packages. 2008-02-06 23:06:24 +00:00
opie
pam_modules/pam_passwdqc
pf Max's changes got left out of the MRT commit. 2008-05-09 23:53:01 +00:00
pnpinfo
sendmail Merge from vendor dist: Bring in a change already in the sendmail 2008-11-15 04:43:54 +00:00
smbfs When encoding an smb name, truncate one byte earlier in order than we did 2008-11-02 19:48:15 +00:00
tcp_wrappers
tcpdump unbreak printing 802.11 tx/rx rates 2008-02-25 01:28:14 +00:00
tcsh Actually fix pty detection for autologout setting. 2008-10-20 08:44:14 +00:00
telnet Use strlcpy() instead of strcpy(). 2008-11-13 20:40:38 +00:00
texinfo
top Removed the no-op -p; documented -P. 2008-06-21 15:48:16 +00:00
traceroute Add AS lookup functionality. On each hop we query a whois server to 2008-02-20 23:29:53 +00:00
wpa_supplicant fix botched merge of syslog support to the vendor branch; these files 2008-03-25 21:47:03 +00:00