cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c audit_worker.c

2008-08-31 Thread Robert Watson
rwatson 2008-08-31 13:24:32 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c

cvs commit: src/sys/security/audit audit.c

2008-08-11 Thread Christian S.J. Peron
csjp2008-08-11 20:14:56 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: SVN rev 181604 on 2008-08-11 20:14:56Z by csjp Make sure we check the preselection masks present for all audit pipes. It is possible that the audit pipe(s) have differe

cvs commit: src/sys/security/audit audit.c

2008-08-05 Thread Christian S.J. Peron
csjp2008-08-05 17:11:20 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/security/audit audit.c Log: SVN rev 181331 on 2008-08-05 17:11:20Z by csjp Merge revision r175763 Initialize termid.at_type Revision ChangesPath 1.33.2.6

cvs commit: src/sys/security/audit audit.c

2008-08-01 Thread Robert Watson
rwatson 2008-08-01 11:00:14 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/security/audit audit.c Log: SVN rev 181122 on 2008-08-01 11:00:14Z by rwatson Merge r179517 from head to stable/7: Add an XXX comment regarding a bug I introduced wh

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c audit_worker.c

2008-07-22 Thread Robert Watson
rwatson 2008-07-22 15:29:48 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c audit_w

cvs commit: src/sys/security/audit audit.c

2008-06-03 Thread Robert Watson
rwatson 2008-06-03 11:06:44 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: SVN rev 179517 on 2008-06-03 11:06:34Z by rwatson Add an XXX comment regarding a bug I introduced when modifying the behavior of audit log vnode rotation: on shutdown,

cvs commit: src/sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_pipe.c audit_syscalls.c audit_trigger.c audit_worker.c

2008-04-20 Thread Robert Watson
rwatson 2008-04-20 16:34:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_pipe.c audit_syscalls.c

cvs commit: src/sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_pipe.c audit_syscalls.c audit_trigger.c audit_worker.c

2008-04-13 Thread Robert Watson
rwatson 2008-04-13 22:06:57 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_pipe.c audit_syscalls.c audit_trigger.c au

cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c audit_private.h

2008-04-10 Thread Robert Watson
rwatson 2008-04-10 20:00:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/security/audit audit.c audit_bsm_klib.c audit_private.h Log: MFC audit.c:1.39, audit_bsm_klib.c:1.11, audit_private.h:1.19 from HEAD to RELENG_7: Add audit_prefixes to

cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c audit_private.h

2008-03-01 Thread Robert Watson
rwatson 2008-03-01 11:40:49 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_bsm_klib.c audit_private.h Log: Add audit_prefixes to two more globally visible functions in the Audit implementation. MFC after: 1 month Revision Changes

cvs commit: src/sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_private.h

2008-02-25 Thread Robert Watson
rwatson 2008-02-25 20:28:00 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_arg.c audit_bsm.c audit_bsm_klib.c audit_private.h Log: Rename several audit functions in the global kernel symbol namespace to have audit_ on the

cvs commit: src/sys/security/audit audit.c

2008-01-28 Thread Christian S.J. Peron
csjp2008-01-28 17:33:46 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Make sure that the termid type is initialized to AU_IPv4 by default. This makes sure that process tokens credentials with un-initialized audit contexts are handled correct

cvs commit: src/sys/security/audit audit.c

2007-12-04 Thread Wojciech A. Koszek
wkoszek 2007-12-04 20:20:59 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Explicitly initialize 'ret' to 0'. It lets one to build tmpfs from the latest source tree with older compiler--gcc3. Approved by:cognet (mentor) Revision Chan

cvs commit: src/sys/security/audit audit.c

2007-11-15 Thread Robert Watson
rwatson 2007-11-15 20:06:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c Log: Merge audit.c:1.32 from HEAD to RELENG_6: Spell statistics more correctly in comments. Revision ChangesPath 1.18.2.12 +1 -1

cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c

2007-11-15 Thread Robert Watson
rwatson 2007-11-15 19:31:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c audit_bsm_klib.c Log: Merge audit.c:1.35, audit_bsm_klib.c:1.8 from HEAD to RELENG_6: Replace use of AU_NULL with 0 when no audit classes are in us

cvs commit: src/sys/security/audit audit.c audit_arg.c audit_bsm.c

2007-11-15 Thread Robert Watson
rwatson 2007-11-15 19:59:54 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c audit_arg.c audit_bsm.c Log: Merge audit.c:1.31, audit_arg.c:1.14, audit_bsm.c:1.18 from HEAD to RELENG_6: Clean up, and sometimes remove, a numb

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_token.c audit_private.h audit_syscalls.c src/sys/sys proc.h

2007-11-10 Thread Christian S.J. Peron
csjp2007-11-10 15:32:03 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_token.c audit_private.h audit_syscalls.c sys/sys

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_pipe.c audit_private.h audit_worker.c

2007-11-08 Thread Robert Watson
rwatson 2007-11-08 16:38:50 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_pipe.c audit_private.h audit_worker.c Log: Merg

cvs commit: src/sys/security/audit audit.c audit_private.h audit_worker.c

2007-11-08 Thread Robert Watson
rwatson 2007-11-08 16:32:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c audit_private.h audit_worker.c Log: Merge audit.c:1.28, audit_private.h:1.15, audit_worker.c:1.15 from HEAD to RELENG_6: Remove AUDIT_PRINTF() de

cvs commit: src/sys/security/audit audit.c

2007-11-08 Thread Robert Watson
rwatson 2007-11-08 15:49:01 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c Log: Merge audit.c:1.26 from HEAD to RELENG_6: No need to force __inline__ of currecord(), as the compiler will usefully inline it when needed

cvs commit: src/sys/security/audit audit.c audit_bsm_token.c audit_trigger.c audit_worker.c

2007-11-08 Thread Robert Watson
rwatson 2007-11-08 15:16:19 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c audit_bsm_token.c audit_trigger.c audit_worker.c Log: Merge audit.c:1.23, audit_bsm_token.c:1.9, audit_trigger.c:1.4, and audi

cvs commit: src/sys/security/audit audit.c

2007-11-08 Thread Robert Watson
rwatson 2007-11-08 15:11:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c Log: Merge audit.c:1.21 from HEAD to RELENG_6: Trim some no longer XXX comments. Remove some commented out debugging printfs. Obtained f

cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c

2007-11-02 Thread Robert Watson
rwatson 2007-11-02 09:53:33 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/security/audit audit.c audit_bsm_klib.c Log: Merge audit.c:1.35, audit_bsm_klib.c:1.8 from HEAD to RELENG_7: Replace use of AU_NULL with 0 when no audit classes are in us

cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c

2007-10-29 Thread Robert Watson
rwatson 2007-10-29 18:07:48 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_bsm_klib.c Log: Replace use of AU_NULL with 0 when no audit classes are in use; this supports the removal of hard-coded audit class constants in OpenBSM 1.0. All audit c

cvs commit: src/sys/security/audit audit.c audit_bsm.c

2007-07-01 Thread Robert Watson
rwatson 2007-07-01 20:51:30 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_bsm.c Log: Remove two boot printfs generated by Audit to announce it's presence, and replace with software-testable sysctl node (security.audit) that can be used to detec

cvs commit: src/sys/security/audit audit.c audit_arg.c audit_bsm.c

2007-06-11 Thread Robert Watson
rwatson 2007-06-11 22:10:54 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_arg.c audit_bsm.c Log: Clean up, and sometimes remove, a number of audit-related implementation comments. Obtained from: TrutstedBSD Project Revision Changes

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_pipe.c audit_private.h audit_worker.c

2007-06-01 Thread Robert Watson
rwatson 2007-06-01 21:58:59 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_pipe.c audit_private.h audit_worker.c Log: Clean up audit comments--forma

cvs commit: src/sys/security/audit audit.c audit_private.h audit_worker.c

2007-06-01 Thread Robert Watson
rwatson 2007-06-01 13:53:37 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_private.h audit_worker.c Log: Remove AUDIT_PRINTF() debugging statements and definition; clean up or remove associated comments. Slip audit_file_rotate_wait assignment

cvs commit: src/sys/security/audit audit.c audit_private.h

2007-05-30 Thread Robert Watson
rwatson 2007-05-30 09:14:14 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_private.h Log: Remove unused ar_subj_comm field from in-kernel audit record; we never export this via BSM, so don't pay space/time cost of maintaining it. Obtained fro

Re: cvs commit: src/sys/security/audit audit.c

2007-05-23 Thread Bruce Evans
On Wed, 23 May 2007, Robert Watson wrote: rwatson 2007-05-23 09:32:30 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: No need to force __inline__ of currecord(), as the compiler will usefully inline it when needed already, and the symbol is also require

cvs commit: src/sys/security/audit audit.c

2007-05-23 Thread Robert Watson
rwatson 2007-05-23 09:32:30 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: No need to force __inline__ of currecord(), as the compiler will usefully inline it when needed already, and the symbol is also required outside of audit.c. This silences

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_token.c audit_private.h audit_syscalls.c src/sys/sys proc.h

2007-04-13 Thread Christian S.J. Peron
csjp2007-04-13 14:55:19 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_token.c audit_private.h audit_syscalls.c sys/sys proc.h Log: Fix the

cvs commit: src/sys/security/audit audit.c audit_bsm_token.c audit_trigger.c audit_worker.c

2006-12-28 Thread Robert Watson
rwatson 2006-12-28 22:18:44 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_bsm_token.c audit_trigger.c audit_worker.c Log: Update a number of comments: - Replace XXX with Note: in several cases where observations are m

cvs commit: src/sys/security/audit audit.c

2006-10-02 Thread Robert Watson
rwatson 2006-10-02 11:32:23 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Trim some no longer XXX comments. Remove some commented out debugging printfs. MFC after: 3 days Obtained from: TrustedBSD Project Revision ChangesPa

cvs commit: src/sys/security/audit audit.c audit_private.h audit_syscalls.c audit_worker.c

2006-09-20 Thread Christian S.J. Peron
csjp2006-09-20 17:07:11 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c audit_private.h audit_syscalls.c audit_worker.c Log: MFC audit work which fully implements processing of user supplied records

cvs commit: src/sys/security/audit audit.c audit_private.h audit_syscalls.c audit_worker.c

2006-09-17 Thread Christian S.J. Peron
csjp2006-09-17 17:52:57 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_private.h audit_syscalls.c audit_worker.c Log: Correct a slight regression which was introduced with the implementation of audit pipes. If the ker

cvs commit: src/sys/security/audit audit.c

2006-09-13 Thread Robert Watson
rwatson 2006-09-13 09:18:27 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit.c Log: Merge audit.c:1.19 from HEAD to RELENG_6: Small style cleanup. Approved by:re (mux) Revision ChangesPath 1.18.2.2 +2 -3

cvs commit: src/sys/security/audit audit.c

2006-09-09 Thread Robert Watson
rwatson 2006-09-09 10:23:01 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Small style cleanup. MFC after: 3 days Revision ChangesPath 1.19 +2 -3 src/sys/security/audit/audit.c _

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_ioctl.h audit_pipe.c audit_private.h audit_syscalls.c audit_trigger.c audit_worker.c

2006-09-02 Thread Robert Watson
rwatson 2006-09-02 11:50:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/security/audit audit_syscalls.c Added files: (Branch: RELENG_6) sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib

cvs commit: src/sys/security/audit audit.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 21:58:04 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Lock process when copying fields from process structure so as to get a consistent snapshot, as well as get consistent values (i.e., that p_comm is properly nul-terminated)

cvs commit: src/sys/security/audit audit.c

2006-06-05 Thread Robert Watson
rwatson 2006-06-05 15:38:12 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Consistently use audit_free() to free records, rather than directly invoking uma_zfree(). Perforce change:96652 Obtained from: TrustedBSD Project

cvs commit: src/sys/security/audit audit.c audit_bsm_klib.c audit_ioctl.h audit_pipe.c audit_private.h audit_worker.c

2006-06-05 Thread Robert Watson
rwatson 2006-06-05 14:48:17 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_bsm_klib.c audit_ioctl.h audit_pipe.c audit_private.h audit_worker.c Log: Introduce support for per-audit pipe preselectio

cvs commit: src/sys/security/audit audit.c

2006-06-05 Thread Robert Watson
rwatson 2006-06-05 14:11:29 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Shorten audit record zone name. Perforce change:93598 Obtained from: TrustedBSD Project Revision ChangesPath 1.14 +1 -1 src/sys/security/

cvs commit: src/sys/security/audit audit.c audit_private.h audit_worker.c

2006-06-05 Thread Robert Watson
rwatson 2006-06-05 13:43:57 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_private.h audit_worker.c Log: Rename audit_cv to audit_worker_cv, as it wakes up the audit worker. Rename audit_commit_cv to audit_watermark_cv, since it is there to

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_ioctl.h audit_private.h audit_syscalls.c audit_worker.c

2006-03-19 Thread Robert Watson
rwatson 2006-03-19 17:34:00 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_ioctl.h audit_private.h audit_syscalls.c audit_worke

cvs commit: src/sys/security/audit audit.c

2006-03-18 Thread Robert Watson
rwatson 2006-03-18 18:32:12 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Merge perforce 93507: Correct comment: this print is now from audit_record_write(), not audit_worker(). Obtained from: TrustedBSD Project Revision Chang

cvs commit: src/sys/security/audit audit.c audit_private.h audit_syscalls.c audit_trigger.c

2006-03-18 Thread Robert Watson
rwatson 2006-03-18 18:31:24 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_private.h audit_syscalls.c audit_trigger.c Log: Merge perforce change 93199: Change send_trigger() prototype to return an int, so that user

cvs commit: src/sys/security/audit audit.c audit_bsm_token.c audit_private.h

2006-03-04 Thread Robert Watson
rwatson 2006-03-04 17:00:55 UTC FreeBSD src repository Modified files: sys/security/audit audit.c audit_bsm_token.c audit_private.h Log: Update src/sys/security/audit for OpenBSM 1.0 alpha 5: - Include audit_internal.h to get definition of internal audit record structu

cvs commit: src/sys/security/audit audit.c

2006-02-11 Thread Robert Watson
rwatson 2006-02-11 23:53:00 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Initialize user process audit ID to AU_DEFAUDITID so that init and its pre-authentication children are covered by naflags. Obtained from: TrustedBSD Project Revis

cvs commit: src/sys/security/audit audit.c

2006-02-07 Thread Robert Watson
rwatson 2006-02-07 23:44:31 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Acquire vnode lock around call to VOP_GETATTR() in audit_record_write(). In the future, we may want to acquire the lock early in the function and hold it across calls to v

cvs commit: src/sys/security/audit audit.c

2006-02-06 Thread Robert Watson
rwatson 2006-02-06 22:30:55 UTC FreeBSD src repository Modified files: sys/security/audit audit.c Log: Manage audit record memory with the slab allocator, turning initialization routines into a ctor, tear-down to a dtor, cleaning up, etc. This will allow audit records to b

cvs commit: src/sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c audit_trigger.c

2006-02-01 Thread Robert Watson
rwatson 2006-02-01 20:01:18 UTC FreeBSD src repository Added files: sys/security/audit audit.c audit.h audit_arg.c audit_bsm.c audit_bsm_klib.c audit_bsm_token.c audit_private.h audit_syscalls.c audit_trig