freebsd-skq/sys
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
..
amd64 Disable USB bluetooth (needs netgraph built in) and USB audio (doesn't 2008-12-30 20:13:20 +00:00
arm Include std.ixp425 for "cpu" and comment out duplicate memory map 2008-12-28 11:04:24 +00:00
boot A number of small changes to make the 'save choice to disk' safer, 2008-12-30 09:40:50 +00:00
bsm Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
cam Add quirk for the Storcase InfoStation 12bay 2008-12-23 09:11:05 +00:00
cddl Put the MIPS support back in after it was removed in r185029. 2008-12-04 16:31:08 +00:00
compat Push down Giant inside sysctl. Also add some more assertions to the code. 2008-12-29 12:58:45 +00:00
conf Hook up the ether_echo node and fix the man page 2008-12-25 07:34:14 +00:00
contrib Check for ipprotosw.h more precisely. 2008-12-23 16:49:07 +00:00
crypto Avoid 256 integer divisions per rc4_init() call. Replace it with using 2008-12-16 13:58:37 +00:00
ddb Collect N identical (or near identical) mkdumpheader() implementations into 2008-10-01 22:08:53 +00:00
dev When no driver attaches to a card, don't power down the card. We can 2008-12-31 07:41:42 +00:00
fs Add a VOP_VPTOCNP implementation for pseudofs which covers file systems 2008-12-30 21:49:39 +00:00
gdb
geom - Fix an issue with access permissions to underlying disks used by a gvinum 2008-12-27 14:32:39 +00:00
gnu According to phk@, VOP_STRATEGY should never, _ever_, return 2008-12-16 21:13:11 +00:00
i386 Disable USB bluetooth (needs netgraph built in) and USB audio (doesn't 2008-12-30 20:25:49 +00:00
ia64 AT_DEBUG and AT_BRK were OBE like 10 years ago, so retire them. 2008-12-17 06:56:58 +00:00
isa Allow device hints to wire the unit numbers of devices. 2008-11-18 21:01:54 +00:00
kern Document the relationship between enum VM_GUEST and the vm_guest_sysctl_names 2008-12-30 23:49:54 +00:00
kgssapi Call svc_freereq() before returning from the service proc. 2008-11-12 15:31:05 +00:00
libkern Add simple locking for the in-kernel iconv code. Translation operations 2008-12-05 21:19:24 +00:00
mips First pass at 64-bit elf support 2008-12-31 07:38:04 +00:00
modules unbreak the build. Decoupled the USB2's NDIS build from the default 2008-12-27 12:23:22 +00:00
net This checkin addresses a couple of issues: 2008-12-26 19:45:24 +00:00
net80211 convert MALLOC/FREE to malloc/free 2008-12-18 23:00:09 +00:00
netatalk Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netgraph shave about 7% off the overhead of ng_ether by using per-hook 2008-12-25 09:02:55 +00:00
netinet For consistency use LLE_IS_VALID() in this 4th place that is actually 2008-12-28 21:18:01 +00:00
netinet6 This checkin addresses a couple of issues: 2008-12-26 19:45:24 +00:00
netipsec Like in the rest of the file and the network stack use inp as 2008-12-27 23:24:59 +00:00
netipx Add missing "goto set_head" for SO_IPX_CHECKSUM; otherwise we fall through 2008-12-11 10:29:35 +00:00
netnatm Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netncp Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netsmb Implement device cloning for /dev/nsmb, the netsmb control pseudo-device. 2008-11-03 14:23:15 +00:00
nfs
nfs4client Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary 2008-10-28 13:44:11 +00:00
nfsclient Rather than using hidden includes (with cicular dependencies), 2008-12-02 21:37:28 +00:00
nfsserver Handle VFS_VGET() failing with an error other than EOPNOTSUPP in addition 2008-12-16 04:34:09 +00:00
nlm Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
opencrypto Don't hang if encrypting/decrypting using struct iovecs where one of the 2008-10-30 16:11:07 +00:00
pc98 Disable the pccard, parallel, GbE and wireless lan related devices and 2008-12-21 09:01:00 +00:00
pccard
pci Since we don't request reset for rlphy(4), the link state 'UP' 2008-12-22 00:53:47 +00:00
powerpc Modularize the Open Firmware client interface to allow run-time switching 2008-12-20 00:33:10 +00:00
rpc Add a missing call to mtx_destroy(). 2008-11-12 12:21:18 +00:00
security Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
sparc64 - According to comments in OpenBSD, E{2,4}50 tend to have fragile 2008-12-22 15:34:06 +00:00
sun4v Missed the sun4v update to ofw_machdep.h in the OFW modularization commit. 2008-12-20 15:11:00 +00:00
sys Bump the odometer of the years, this time a bit early for 7.1R. 2008-12-30 04:48:59 +00:00
tools Remove some unused and broken code that attempted to not invoke locking 2008-11-03 19:57:40 +00:00
ufs Do not busy twice the mount point where a quota operation is performed. 2008-12-18 12:01:53 +00:00
vm Update or eliminate some stale comments. 2008-12-31 05:44:05 +00:00
xdr Use the remote address for access control, not the local address. This fixes 2008-11-13 14:36:52 +00:00
xen merge 186535, 186537, and 186538 from releng_7_xen 2008-12-29 06:31:03 +00:00
Makefile