freebsd-nq/sys/security/audit
Christian S.J. Peron ffbcef5a42 Add support for extended header BSM tokens. Currently we use the
regular header tokens.  The extended header tokens contain an IP
or IPv6 address which makes it possible to identify which host an
audit record came from when audit records are centralized.

If the host information has not been specified, the system will
default to the old style headers.  Otherwise, audit records that
are created as a result of system calls will contain host information.

This implemented has been designed to be consistent with the Solaris
implementation.  Host information is set/retrieved using the A_GETKAUDIT
and A_SETKAUDIT auditon(2) commands.  These commands require that a
pointer to a auditinfo_addr_t object is passed.  Currently only IP and
IPv6 address families are supported.

The users pace bits associated with this change will follow in an
openbsm import.

Reviewed by:	rwatson, (sson, wsalamon (older version))
MFC after:	1 month
2008-11-11 21:57:03 +00:00
..
audit_arg.c Use shared vnode locks for auditing vnode arguments as auditing only 2008-11-04 22:31:04 +00:00
audit_bsm_klib.c Don't lock the vnode around calls to vn_fullpath(). 2008-11-04 22:30:24 +00:00
audit_bsm_token.c Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00
audit_bsm.c Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00
audit_ioctl.h Don't expose #ifdef NOTYET parts to userspace via audit_ioctl.h, just 2007-04-29 16:20:32 +00:00
audit_pipe.c Update introductory comment for audit pipes. 2008-11-02 00:25:48 +00:00
audit_private.h Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00
audit_syscalls.c Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00
audit_trigger.c Generally avoid <space><tab> as a white space anomoly. 2008-07-22 16:44:48 +00:00
audit_worker.c Wrap sx locking of the audit worker sleep lock in macros, update comments. 2008-11-10 22:06:24 +00:00
audit.c Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00
audit.h Add support for extended header BSM tokens. Currently we use the 2008-11-11 21:57:03 +00:00