Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 16:03:44 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/conf files src/sys/security/audit audit.c audit_private.h audit_worker.c
Message-ID:  <200603191603.k2JG3i4f006009@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603191603.k2JG3i4f006009>