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

Robert Watson rwatson at FreeBSD.org
Sun Mar 19 16:03:44 UTC 2006


rwatson     2006-03-19 16:03:44 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             files 
    sys/security/audit   audit.c audit_private.h 
  Added files:
    sys/security/audit   audit_worker.c 
  Log:
  Merge Perforce changes 93512, 93514, 93515 from TrustedBSD audit3
  branch:
  
    Integrate audit.c to audit_worker.c, so as to migrate the worker
    thread implementation to its own .c file.
  
    Populate audit_worker.c using parts now removed from audit.c:
  
    - Move audit rotation global variables.
    - Move audit_record_write(), audit_worker_rotate(),
      audit_worker_drain(), audit_worker(), audit_rotate_vnode().
    - Create audit_worker_init() from relevant parts of audit_init(),
      which now calls this routine.
    - Recreate audit_free(), which wraps uma_zfree() so that
      audit_record_zone can be static to audit.c.
    - Unstaticize various types and variables relating to the audit
      record queue so that audit_worker can get to them.  We may want
      to wrap these in accessor methods at some point.
    - Move AUDIT_PRINTF() to audit_private.h.
  
    Addition of audit_worker.c to kernel configuration, missed in
    earlier submit.
  
  Obtained from:  TrustedBSD Project
  
  Revision  Changes    Path
  1.1103    +1 -0      src/sys/conf/files
  1.11      +27 -492   src/sys/security/audit/audit.c
  1.6       +31 -3     src/sys/security/audit/audit_private.h
  1.1       +558 -0    src/sys/security/audit/audit_worker.c (new)


More information about the cvs-src mailing list