NEWS revision 189279
1184902SrwatsonOpenBSM Version History
2184902Srwatson
3189279SrwatsonOpenBSM 1.1 beta 1
4189279Srwatson
5189279Srwatson- The filesz parameter in audit_control(5) now accepts suffixes: 'B' for
6189279Srwatson  Bytes, 'K' for Kilobytes, 'M' for Megabytes, and 'G' for Gigabytes.
7189279Srwatson  For legacy support no suffix defaults to bytes.
8189279Srwatson- Audit trail log expiration support added.  It is configured in
9189279Srwatson  audit_control(5) with the expire-after parameter.  If there is no 
10189279Srwatson  expire-after parameter in audit_control(5), the default, then the audit
11189279Srwatson  trail files are not expired and removed.  See audit_control(5) for
12189279Srwatson  more information.
13189279Srwatson- Change defaults in audit_control: warn at 5% rather than 20% free for audit
14189279Srwatson  partitions, rotate automatically at 2mb, and set the default policy to
15189279Srwatson  cnt,argv rather than cnt so that execve(2) arguments are captured if
16189279Srwatson  AUE_EXECVE events are audited.  These may provide more usable defaults for
17189279Srwatson  many users.
18189279Srwatson- Use au_domain_to_bsm(3) and au_socket_type_to_bsm(3) to convert
19189279Srwatson  au_to_socket_ex(3) arguments to BSM format.
20189279Srwatson- Fix error encoding AUT_IPC_PERM tokens.
21189279Srwatson
22187214SrwatsonOpenBSM 1.1 alpha 5
23187214Srwatson
24187214Srwatson- Stub libauditd(3) man page added.
25187214Srwatson- All BSM error number constants with BSM_ERRNO_.
26187214Srwatson- Interfaces to convert between local and BSM socket types and protocol
27187214Srwatson  families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
28187214Srwatson  au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
29187214Srwatson  of constants in audit_domain.h and audit_socket_type.h.  This improves
30187214Srwatson  interoperability by converting local constant spaces, which vary by OS, to
31187214Srwatson  and from Solaris constants (where available) or OpenBSM constants for
32187214Srwatson  protocol domains not present in Solaris (a fair number).  These routines
33187214Srwatson  should be used when generating and interpreting extended socket tokens.
34187214Srwatson- Fix build warnings with full gcc warnings enabled on most supported
35187214Srwatson  platforms.
36187214Srwatson- Don't compile error strings into bsm_errno.c when building it in the kernel
37187214Srwatson  environment.
38187214Srwatson- When started by launchd, use the label com.apple.auditd rather than
39187214Srwatson  org.trustedbsd.auditd.
40187214Srwatson
41186647SrwatsonOpenBSM 1.1 alpha 4
42186647Srwatson
43186647Srwatson- With the addition of BSM error number mapping, we also need to map the
44186647Srwatson  local error number passed to audit_submit(3) to a BSM error number, rather
45186647Srwatson  than have the caller perform that conversion.
46186647Srwatson- Reallocate user audit events to avoid collisions with Solaris; adopt a more
47186647Srwatson  formal allocation scheme, and add some events allocated in Solaris that
48186647Srwatson  will be of immediate use on other platforms.
49186647Srwatson- Add an event for Calife.
50186647Srwatson- Add au_strerror(3), which allows generating strings for BSM errors
51186647Srwatson  directly, rather than requiring applications to map to the local error
52186647Srwatson  space, which might not be able to entirely represent the BSM error number
53186647Srwatson  space.
54186647Srwatson- Major auditd rewrite for launchd(8) support.  Add libauditd library that is
55186647Srwatson  shared between launchd and auditd. 
56186647Srwatson- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for (re)starting
57186647Srwatson  auditing under launchd(8) on Mac OS X.
58186647Srwatson- Add 'current' symlink to active audit trail.
59186647Srwatson- Add crash recovery of previous audit trail file when detected on audit
60186647Srwatson  startup that it has not been properly terminated.
61186647Srwatson- Add the event AUE_audit_recovery to indicated when an audit trail file has
62186647Srwatson  been recovered from not being properly terminated.  This event is stored
63186647Srwatson  in the new audit trail file and includes the path of recovered audit trail
64186647Srwatson  file.
65186647Srwatson- Mac OS X and FreeBSD dependent code in auditd.c is separated into
66186647Srwatson  auditd_darwin.c and auditd_fbsd.c files.
67186647Srwatson- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system calls.
68186647Srwatson- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
69186647Srwatson- Add support for NOTICE level logging. 
70186647Srwatson
71186647SrwatsonOpenBSM 1.1 alpha 3
72186647Srwatson
73186647Srwatson- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
74186647Srwatson  between BSM error numbers (largely the Solaris definitions) and local
75186647Srwatson  errno(2) values for 32-bit and 64-bit return tokens.  This is required as
76186647Srwatson  operating systems don't agree on some of the values of more recent error
77186647Srwatson  numbers.
78186647Srwatson- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the total
79186647Srwatson  size for the token.  This bug resulted in "unknown" tokens being printed
80186647Srwatson  after the exec args/env tokens.
81186647Srwatson- Support for AUT_SOCKET_EX extended socket tokens, which describe a socket
82186647Srwatson  using a pair of IPv4/IPv6 and port tuples.
83186647Srwatson- OpenBSM BSM file header version bumped for 1.1 release.
84186647Srwatson- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.
85186647Srwatson
86184902SrwatsonOpenBSM 1.1 alpha 2
87184902Srwatson
88184902Srwatson- Include files in OpenBSM are now broken out into two parts: library builds
89184902Srwatson  required solely for user space, and system includes, which may also be
90184902Srwatson  required for use in the kernels of systems integrating OpenBSM.  Submitted
91184902Srwatson  by Stacey Son.
92184902Srwatson- Configure option --with-native-includes allows forcing the use of native
93184902Srwatson  include for system includes, rather than the versions bundled with OpenBSM.
94184902Srwatson  This is intended specifically for platforms that ship OpenBSM, have adapted
95184902Srwatson  versions of the system includes in a kernel source tree, and will use the
96184902Srwatson  OpenBSM build infrastructure with an unmodified OpenBSM distribution,
97184902Srwatson  allowing the customized system includes to be used with the OpenBSM build.
98184902Srwatson  Submitted by Stacey Son.
99184902Srwatson- Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s
100184902Srwatson  or asprintf().  Added compat/strlcpy.h for Linux.
101184902Srwatson- Remove compatibility defines for old Darwin token constant names; now only
102184902Srwatson  BSM token names are provided and used.
103184902Srwatson- Add support for extended header tokens, which contain space for information
104184902Srwatson  on the host generating the record.
105184902Srwatson- Add support for setting extended host information in the kernel, which is
106184902Srwatson  used for setting host information in extended header tokens.  The
107184902Srwatson  audit_control file now supports a "host" parameter which can be used by
108184902Srwatson  auditd to set the information; if not present, the kernel parameters won't
109184902Srwatson  be set and auditd uses unextended headers for records that it generates.
110184902Srwatson
111184902SrwatsonOpenBSM 1.1 alpha 1
112184902Srwatson
113184902Srwatson- Add option to auditreduce(1) which allows users to invert sense of
114184902Srwatson  matching, such that BSM records that do not match, are selected.
115184902Srwatson- Fix bug in audit_write() where we commit an incomplete record in the
116184902Srwatson  event there is an error writing the subject token.  This was submitted
117184902Srwatson  by Diego Giagio.
118184902Srwatson- Build support for Mac OS X 10.5.1 submitted by Eric Hall.
119184902Srwatson- Fix a bug which resulted in host XML attributes not being printed
120184902Srwatson  while processing extended header tokens.  This patch was submitted by
121184902Srwatson  Martin Voros.
122184902Srwatson- Constification of function arguments so that const strings can be passed
123184902Srwatson  as arguments to tokens.  This patch was submitted by Xin LI.
124184902Srwatson- Modify the -m option so users can select more then one audit event.
125184902Srwatson- For Mac OS X, added Mach IPC support for audit trigger messages.
126184902Srwatson- Fixed a bug in getacna() which resulted in a locking problem on Mac OS X.
127184902Srwatson- Added LOG_PERROR flag to openlog when -d option is used with auditd.
128184902Srwatson- AUE events added for Mac OS X Leopard system calls.
129184902Srwatson
130184902SrwatsonOpenBSM 1.0
131184902Srwatson
132184902Srwatson- Fix bug in auditreduce(1) which resulted in a memory fault/crash when
133184902Srwatson  the user specified an event name with -m.
134184902Srwatson- Remove AU_.* hard-coded audit class constants, as audit classes are now
135184902Srwatson  entirely dynamically configured using /etc/security/audit_class.
136184902Srwatson
137184902SrwatsonOpenBSM 1.0 alpha 15
138184902Srwatson
139184902Srwatson- Fix bug when processing in_addr_ex tokens.
140184902Srwatson- Restore the behavior of printing the string/text specified while
141184902Srwatson  auditing arg32 tokens.
142184902Srwatson- Synchronized audit event list to Solaris, picking up the *at(2) system call
143184902Srwatson  definitions, now required for FreeBSD and Linux.  Added additional events
144184902Srwatson  for *at(2) system calls not present in Solaris.
145184902Srwatson- Bugs in auditreduce(1) fixed allowing partial date strings to be used in
146184902Srwatson  filtering events.
147184902Srwatson
148184902SrwatsonOpenBSM 1.0 alpha 14
149184902Srwatson
150184902Srwatson- Fix endian issues when processing IPv6 addresses for extended subject
151184902Srwatson  and process tokens.
152184902Srwatson- gcc41 warnings clean.
153184902Srwatson- Teach audit_submit(3) about getaudit_addr(2).
154184902Srwatson- Add support for zonename tokens.
155184902Srwatson
156184902SrwatsonOpenBSM 1.0 alpha 13
157184902Srwatson
158184902Srwatson- compat/clock_gettime.h now provides a compatibility implementation of
159184902Srwatson  clock_gettime(), which fixes building on Mac OS X.
160184902Srwatson- Countless man page improvements, markup fixes, content fixs, etc.
161184902Srwatson- XML printing support via "praudit -x".
162184902Srwatson- audit.log.5 expanded to include additional BSM token types.
163184902Srwatson- Added encoding and decoding routines for process64_ex, process32_ex,
164184902Srwatson  subject32_ex, header64, and attr64 tokens.
165184902Srwatson- Additional audit event identifiers for listen, mlockall/munlockall,
166184902Srwatson  getpath, POSIX message queues, and mandatory access control.
167184902Srwatson
168184902SrwatsonOpenBSM 1.0 alpha 12
169184902Srwatson
170184902Srwatson- Correct bug in auditreduce which prevented the -c option from working
171184902Srwatson  correctly when the user specifies to process successful or failed events.
172184902Srwatson  The problem stemmed from not having access to the return token at the time
173184902Srwatson  the initial preselection occurred, but now a second preselection process
174184902Srwatson  occurs while processing the return token.
175184902Srwatson- getacfilesz(3) API added to read new audit_control(5) filesz setting,
176184902Srwatson  which auditd(8) now sets the kernel audit trail rotation size to.
177184902Srwatson- auditreduce(1) now uses stdin if no file names are specified on the command
178184902Srwatson  line; this was the documented behavior previously, but it was not
179184902Srwatson  implemented.  Be more specific in auditreduce(1)'s examples section about
180184902Srwatson  what might be done with the output of auditreduce.
181184902Srwatson- Add audit_warn(5) closefile event so that administrators can hook
182184902Srwatson  termination of an audit trail file.  For example, this might be used to
183184902Srwatson  compress the trail file after it is closed.
184184902Srwatson- auditreduce(1) now uses regular expressions for pathname matching. Users can
185184902Srwatson  now supply one or more (comma delimited) regular expressions for searching
186184902Srwatson  the pathnames. If one of the regular expressions is prefixed with a tilde
187184902Srwatson  (~), and a path matches, it will be excluded from the search results.
188184902Srwatson
189184902SrwatsonOpenBSM 1.0 alpha 11
190184902Srwatson
191184902Srwatson- Reclassify certain read/write operations as having no class rather than the
192184902Srwatson  fr/fw class; our default classes audit intent (open) not operations (read,
193184902Srwatson  write).
194184902Srwatson- Introduce AUE_SYSCTL_WRITE event so that BSD/Darwin systems can audit reads
195184902Srwatson  and writes of sysctls as separate events.  Add additional kernel
196184902Srwatson  environment and jail events for FreeBSD.
197184902Srwatson- Break AUDIT_TRIGGER_OPEN_NEW into two events, AUDIT_TRIGGER_ROTATE_USER
198184902Srwatson  (issued by the user audit(8) tool) and AUDIT_TRIGGER_ROTATE_KERNEL (issued
199184902Srwatson  by the kernel audit implementation) so that they can be distinguished.
200184902Srwatson- Disable rate limiting of rotate requests; as the kernel doesn't retransmit
201184902Srwatson  a dropped request, the log file will otherwise grow indefinitely if the
202184902Srwatson  trigger is dropped.
203184902Srwatson- Improve auditd debugging output.
204184902Srwatson- Fix a number of threading related bugs in audit_control file reading
205184902Srwatson  routines.
206184902Srwatson- Add APIs au_poltostr() and au_strtopol() to convert between text
207184902Srwatson  representations of audit_control policy flags and the flags passed to
208184902Srwatson  auditon(A_SETPOLICY) and retrieved from auditon(A_GETPOLICY).
209184902Srwatson- Add API getacpol() to return the 'policy:' entry from audit_control, an
210184902Srwatson  extension to the Solaris file format to allow specification of policy
211184902Srwatson  persistent flags.
212184902Srwatson- Update audump to print the audit_control policy field.
213184902Srwatson- Update auditd to read the audit_control policy field and set the kernel
214184902Srwatson  policy to match it when configuring/reconfiguring.  Remove the -s and -h
215184902Srwatson  arguments as these policies are now set via the configuration file.  If a
216184902Srwatson  policy line is not found in the configuration file, continue with the
217184902Srwatson  current default of setting AUDIT_CNT.
218184902Srwatson- Fix bugs in the parsing of large execve(2) arguments and environmental
219184902Srwatson  variable tokens; increase maximum parsed argument and variable count.
220184902Srwatson- configure now detects strlcat(), used by policy-related functions.
221184902Srwatson- Reference token and record sample files added to test tree.
222184902Srwatson
223184902SrwatsonOpenBSM 1.0 alpha 10
224184902Srwatson
225184902Srwatson- auditd now generates complete audit records for its events, as required for
226184902Srwatson  application-submitted audit records in the FreeBSD kernel audit
227184902Srwatson  implementation.
228184902Srwatson
229184902SrwatsonOpenBSM 1.0 alpha 9
230184902Srwatson
231184902Srwatson- Rename many OpenBSM-specific constants and API elements containing the
232184902Srwatson  strings "BSM" and "bsm" to "AUDIT" and "audit", observing that this is true
233184902Srwatson  for almost all existing constants and APIs.
234184902Srwatson- Instead of passing a per-instance cookie directly into all audit filter
235184902Srwatson  APIs, pass in the audit filter daemon state pointer, which is then used by
236184902Srwatson  the module using an audit_filter_{get,set}cookie() API.  This will allow
237184902Srwatson  future service APIs provided by the filter daemon to maintain their own
238184902Srwatson  state -- for example, per-module preselection state.
239184902Srwatson
240184902SrwatsonOpenBSM 1.0 alpha 8
241184902Srwatson
242184902Srwatson- Correct typo in definition of AUR_INT.
243184902Srwatson- Adopt OpenSolaris constant values for AUDIT_* configuration flags.
244184902Srwatson- Arguments to au_to_exec_args() and au_to_exec_env() no longer const.
245184902Srwatson- Add kernel versions of au_to_exec_args() and au_to_exec_env().
246184902Srwatson- Fix exec argument type that is printed for env strings from 'arg' to 'env'.
247184902Srwatson- New OpenBSM token version number assigned, constants added for other
248184902Srwatson  commonly seen version numbers.
249184902Srwatson- OpenBSM-specific events assigned numbers in the 43xxx range to avoid future
250184902Srwatson  collisions with Solaris.  Darwin events renamed to AUE_DARWIN_foo, as they
251184902Srwatson  are now deprecated numberings.
252184902Srwatson- autoconf now detects clock_gettime(), which is not available on Darwin.
253184902Srwatson- praudit output fixes relating to arg32 and arg64 tokens.
254184902Srwatson- Maximum record size updated to 64k-1 to match Solaris record size limit.
255184902Srwatson- Various style and comment cleanups in include files.
256184902Srwatson
257184902SrwatsonOpenBSM 1.0 alpha 7
258184902Srwatson
259184902Srwatson- Adopted Solaris-compatible format for subject32_ex and subject64_ex
260184902Srwatson  tokens, which previously did not correctly implement variable length
261184902Srwatson  address storage.
262184902Srwatson- Prefer inttypes.h to stdint.h; enhance queue.h detection to test for
263184902Srwatson  TAILQ_FOREACH_SAFE(), which is present in recent BSD queue.h's, but not
264184902Srwatson  older ones.  OpenBSM now builds on some FreeBSD 4.x versions.
265184902Srwatson- New event types for extended attributes, ACLs, and scheduling.
266184902Srwatson
267184902SrwatsonOpenBSM 1.0 alpha 6
268184902Srwatson
269184902Srwatson- Use AU_TO_WRITE and AU_NO_TO_WRITE for the 'keep' argument to au_close();
270184902Srwatson  previously we used hard-coded 0 and 1 values.
271184902Srwatson- Add man page for au_open(), au_write(), au_close(), and
272184902Srwatson  au_close_buffer().
273184902Srwatson- Support a more complete range of data types for the arbitrary data token:
274184902Srwatson  add AUR_CHAR (alias to AUR_BYTE), remove AUR_LONG, add AUR_INT32 (alias
275184902Srwatson  to AUR_INT), add AUR_INT64.
276184902Srwatson- Add au_close_token(), which allows writing a single token_t to a memory
277184902Srwatson  buffer.  Not likely to be used much by applications, but useful for
278184902Srwatson  writing test tools.
279184902Srwatson- Modify au_to_file() so that it accepts a timeval in user space, not just
280184902Srwatson  kernel -- this is not a Solaris BSM API so can be modified without
281184902Srwatson  causing compatibility issues.
282184902Srwatson- Define a new API, au_to_header32_tm(), which adds a struct timeval
283184902Srwatson  argument to the ordinary au_to_header32(), which is now implemented by
284184902Srwatson  wrapping au_to_header32_tm() and calling gettimeofday().  #ifndef KERNEL
285184902Srwatson  the APIs that invoke gettimeofday(), rather than having a variable
286184902Srwatson  definition.  Don't try to retrieve time zone information using
287184902Srwatson  gettimeofday(), as it's not needed, and introduces possible failure
288184902Srwatson  modes.
289184902Srwatson- Don't perform byte order transformations on the addr/machine fields of
290184902Srwatson  the terminal ID that appears in the process32/subject32 tokens.  These
291184902Srwatson  are assumed to be IP addresses, and as such, to be in network byte
292184902Srwatson  order.
293184902Srwatson- Universally, APIs now assume that IP addresses and ports are provided
294184902Srwatson  in network byte order.  APIs now generally provide these types in
295184902Srwatson  network byte order when decoding.
296184902Srwatson- Beginnings of an OpenBSM test framework can now be found in openbsm/test.
297184902Srwatson  This code is not built or installed by default.
298184902Srwatson- auditd now assigns more appropriate syslog levels to its debugging and
299184902Srwatson  error information.
300184902Srwatson- Support for audit filters introduced: audit filters are dynamically
301184902Srwatson  loaded shared objects that run in the context of a new daemon,
302184902Srwatson  auditfilterd.  The daemon reads from an audit pipe and feeds both BSM and
303184902Srwatson  parsed versions of records to shared objects using a module API.  This
304184902Srwatson  will provide a framework for the writing of intrusion detection services.
305184902Srwatson- New utility API, audit_submit(), added to capture common elements of audit
306184902Srwatson  record submission for many applications.
307184902Srwatson
308184902SrwatsonOpenBSM 1.0 alpha 5
309184902Srwatson
310184902Srwatson- Update install notes to indicate /etc files are to be installed manually.
311184902Srwatson- On systems without LOG_SECURITY, use LOG_AUTH.
312184902Srwatson- Convert to autoconf/automake in order to move to a more portable (not
313184902Srwatson  BSD-specific) build infrastructure, and more easy conditional building of
314184902Srwatson  components.  Currently, the primary feature loss is that automake does
315184902Srwatson  not have native support for manual symlinks.  This will be addressed in a
316184902Srwatson  future OpenBSM release.
317184902Srwatson- Add compat/queue.h, to be used on systems dated BSD queue macro libraries
318184902Srwatson  (as found on Linux).
319184902Srwatson- Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the
320184902Srwatson  existing conventions for a CHANGELOG.
321184902Srwatson- Some private data structures moved from audit.h to audit_internal.h to
322184902Srwatson  prevent inappropriate use by applications and name space pollution.
323184902Srwatson- Improved detection and use of endian macros using autoconf.
324184902Srwatson- Avoid non-portable use of struct in6_addr, which is largely opaque.
325184902Srwatson- Avoid leaking BSD kernel socket related token code to user space in
326184902Srwatson  bsm_token.c.
327184902Srwatson- Teach System V IPC calls to look for Linux naming variations for certain
328184902Srwatson  struct ipc_perm fields.
329184902Srwatson- Test for audit system calls, and if not present, don't build
330184902Srwatson  bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on
331184902Srwatson  those system calls.
332184902Srwatson- au_close() is not implemented on systems that don't have audit system
333184902Srwatson  calls, but au_close_buffer() is.
334184902Srwatson- Work around missing BSDisms in bsm_wrapper.c.
335184902Srwatson- Fix nested includes so including libbsm.h in an application on Linux
336184902Srwatson  picks up the necessary definitions.
337184902Srwatson
338184902SrwatsonOpenBSM 1.0 alpha 4
339184902Srwatson
340184902Srwatson- Remove "audit" user example from audit_user, as it's not present on most
341184902Srwatson  systems.
342184902Srwatson- Add cannot_audit() function non-Darwin systems that wraps auditon();
343184902Srwatson  required by OpenSSH BSM support.  Convert Darwin cannot_audit() into a
344184902Srwatson  function rather than a macro.
345184902Srwatson- Library build fixed on Darwin following include file tweaks.  The native
346184902Srwatson  Darwin sys/audit.h conflicts with bsm/audit.h due to duplicate types, so
347184902Srwatson  for now we force bsm_wrappers.c to not perform a nested include of
348184902Srwatson  sys/audit.h.
349184902Srwatson
350184902SrwatsonOpenBSM 1.0 alpha 3
351184902Srwatson
352184902Srwatson- Man page formatting, cross reference, mlinks, and accuracy improvements.
353184902Srwatson- auditd and tools now compile and run on FreeBSD/arm.
354184902Srwatson- auditd will now fchown() the trail file to the audit review group, if
355184902Srwatson  defined at compile-time.
356184902Srwatson- Added AUE_SYSARCH for FreeBSD.
357184902Srwatson- Definition of AUE_SETFSGID fixed for Linux.
358184902Srwatson
359184902SrwatsonOpenBSM 1.0 alpha 2
360184902Srwatson
361184902Srwatson- Man page formatting improvements.
362184902Srwatson- A number of new audit event identifiers for FreeBSD, Linux, and POSIX.1b
363184902Srwatson  events.
364184902Srwatson- Remove 'tfm' class, unused in OpenBSM.
365184902Srwatson
366184902SrwatsonOpenBSM 1.0 alpha 1
367184902Srwatson
368184902Srwatson- Import of Darwin74 BSM drop
369184902Srwatson- Use 'syslog' for audit log warnings, rather than echoing to a file in
370184902Srwatson  audit_warn.
371184902Srwatson- Compile using BSD make infrastructure.
372184902Srwatson- Integrate bsm/ include files from Darwin74 XNU drop into OpenBSM.
373184902Srwatson- Narrow set of symbols and defines that are exposed in user space: don't
374184902Srwatson  compile in code relying on kernel-only types such as 'struct socket'.
375184902Srwatson- Add README, including basic build documentation.
376184902Srwatson- Compilation of Apple-specific notify and Machroutines now #ifdef __APPLE__.
377184902Srwatson- Staticize libbsm global variables to avoid leakage into applications.
378184902Srwatson- Add free_au_user_ent() so that au_user_ent's don't have to be leaked.
379184902Srwatson- Clean up bogus nul-termination checks in libbsm.
380184902Srwatson- Add libbsm API man pages: au_class.3 au_control.3 au_event.3
381184902Srwatson  au_free_token.3 au_io.3 au_mask.3 au_token.3 au_user.3 libbsm.3.
382184902Srwatson- Add man pages for BSM system calls: audit.2 auditctl.2 auditon.2 getaudit.2
383184902Srwatson  getauid.2 setaudit.2 setauid.2
384184902Srwatson- Modify various libbsm interfaces to more consistently return 'errno' values
385184902Srwatson  on failure.
386184902Srwatson- Break out au_close() into constituent parts, allowing records to be written
387184902Srwatson  to memory as well as files.
388184902Srwatson- Prefix various defines with 'BSM_' to reduce name space pollution.
389184902Srwatson- Added audit_internal.h, which can be used by a kernel audit implementation
390184902Srwatson  wanting to rely on libbsm components.
391184902Srwatson- Build with warnings, and eliminate warnings.
392184902Srwatson- Make libbsm endian-independent, storing and reading BSM are big endian
393184902Srwatson  (network byte order) rather than native byte order.  More consistently
394184902Srwatson  print IP addresses using the IP address print routine.  These changes
395184902Srwatson  make use of sys/endian.h from *BSD; since this isn't present on Darwin,
396184902Srwatson  add it to OpenBSM as compat/endian.h, which is used only on Darwin.
397184902Srwatson- Import of Darwin80 BSM drop, including 64-bit file IDs, better
398184902Srwatson  documentation of private APIs, and bug fixes.
399184902Srwatson- White space cleanup.
400184902Srwatson- Add audit.log.5, a first cut at a man page documenting the BSM file format.
401184902Srwatson- Teach au_read_rec() to recognize stand-alone file tokens, which are present
402184902Srwatson  at the beginning and end of Solaris audit trails.  Technically, these
403184902Srwatson  appear to violate the high level BSM spec, which suggests that all tokens
404184902Srwatson  are present in records, but need to be supported.
405184902Srwatson- Implement HEADER64, ATTR64, SUBJECT64 token types, which make it possible
406184902Srwatson  to run praudit(1) on basic Solaris BSM streams.
407184902Srwatson- Switched to Solaris spelling of token names; Darwin spellings are now
408184902Srwatson  deprecated and will be removed in a future version of OpenBSM.
409184902Srwatson- Adopt Solaris model for representing IPv4 and IPv6 addresses.
410184902Srwatson- Prefer C99 types.
411184902Srwatson- Attempt to universally adopt the BSD style(9) coding style for
412184902Srwatson  consistency.
413184902Srwatson- auditreduce(1) now has a usage message.
414184902Srwatson- Update support for auditctl(2) system call to support FreeBSD.
415184902Srwatson- Add support for /dev/audit as the trigger source on FreeBSD.
416184902Srwatson- Add additional event types for Darwin, FreeBSD, and Solaris.  Annotate
417184902Srwatson  conflicts (there are a few, unfortunately).  Correct spellings, comment,
418184902Srwatson  sort, etc.  These include {get,set}res[ug]id(), sendfile(), lchflags(),
419184902Srwatson  eaccess(), kqueue(), kevent(), poll(), lchmod().
420184902Srwatson- Relicensed under a BSD license, many thanks to Apple, Inc!
421184902Srwatson- Many bug fixes, cleanups, thread safety in the class, control, event,
422184902Srwatson  and user system audit databases.  Annotate some persisting atomicity
423184902Srwatson  bugs associated with the API and implementation.
424184902Srwatson- Add audump test tool.
425184902Srwatson- Adopt OpenSolaris BSM API memory semantics: caller allocates memory,
426184902Srwatson  or static memory is returned for non-_r() versions of API calls.
427184902Srwatson  _free() calls dropped as a result, and source code compatibility with
428184902Srwatson  OpenSolaris improved significantly.
429184902Srwatson- Annotate BSM events with origin OS and compatibility information.
430184902Srwatson- auditd(8), audit(8) added to the OpenBSM distribution.  auditd extended
431184902Srwatson  to support reloading of kernel event table.
432184902Srwatson- Allow comments in /etc/security configuration files.
433184902Srwatson
434189279Srwatson$P4: //depot/projects/trustedbsd/openbsm/NEWS#32 $
435