freebsd-nq/share/mk
Robert Watson 7a0a89d2cb 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.
2008-12-31 11:12:24 +00:00
..
bsd.compat.mk Align the warning message with the one in bsd.own.mk. 2007-10-20 18:46:15 +00:00
bsd.cpu.mk Fix links to online gcc docs. 2008-06-25 06:07:03 +00:00
bsd.dep.mk Revert CLEANDEPFILES commit per ru@'s request; it does not really solve 2008-02-05 08:52:36 +00:00
bsd.doc.mk NODOCCOMPRESS -> NO_DOCCOMPRESS 2004-12-21 09:33:47 +00:00
bsd.endian.mk Handle endianness for mips 2008-04-28 14:54:17 +00:00
bsd.files.mk Make sure the only thing that follows .endif or .else is a comment. 2005-04-11 07:13:29 +00:00
bsd.incs.mk Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
bsd.info.mk Don't run install-info under lockf if not installing in parallel. 2006-09-29 15:36:19 +00:00
bsd.init.mk Make sure the only thing that follows .endif or .else is a comment. 2005-04-11 07:13:29 +00:00
bsd.kmod.mk ata module additions now nest ata modules one deeper than any prior module. 2008-10-09 22:01:27 +00:00
bsd.lib.mk Add support for the Compact C Type (CTF) conversions throughout FreeBSD's 2008-05-22 01:14:43 +00:00
bsd.libnames.mk Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
bsd.links.mk
bsd.man.mk Stop clobberring the application namespace with local 2007-03-12 13:54:52 +00:00
bsd.nls.mk Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
bsd.obj.mk Make sure the only thing that follows .endif or .else is a comment. 2005-04-11 07:13:29 +00:00
bsd.own.mk add new build knobs and jigger some existing controls to improve 2008-09-21 22:02:26 +00:00
bsd.pkg.mk If PORTNAME is set in a system Makefile then hook into the ports 2004-12-20 15:46:56 +00:00
bsd.port.mk Try harder to not leak src/ build stuff into ports/ environment 2006-11-19 16:28:52 +00:00
bsd.port.options.mk Add bsd.port.options.mk, a stub to include parts of bsd.port.mk that handle 2007-06-01 15:17:51 +00:00
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Add support for the Compact C Type (CTF) conversions throughout FreeBSD's 2008-05-22 01:14:43 +00:00
bsd.README "clean" of <bsd.prog.mk> no longer removes a.out, Errs, 2006-06-18 11:26:17 +00:00
bsd.snmpmod.mk Add an additional make variable EXTRAMIBSYMS which allows to specify 2008-01-08 12:55:56 +00:00
bsd.subdir.mk Make "manlint" recursive. 2007-12-07 15:02:06 +00:00
bsd.symver.mk Explicitly verify if we have found the VERSION_GEN script 2007-10-18 15:21:35 +00:00
bsd.sys.mk Turn of SSP for mips for now until support is added to the base 2008-07-23 06:14:21 +00:00
Makefile Break long line 2007-06-01 15:32:23 +00:00
sys.mk Add support for the Compact C Type (CTF) conversions throughout FreeBSD's 2008-05-22 01:14:43 +00:00
version_gen.awk Distinguish the cases when a dup symbol is in different versions 2007-10-18 10:32:28 +00:00