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

Robert Watson rwatson at FreeBSD.org
Wed Feb 27 17:12:23 UTC 2008


rwatson     2008-02-27 17:12:22 UTC

  FreeBSD src repository

  Modified files:
    sys/security/audit   audit_worker.c 
  Log:
  Replace somewhat awkward audit trail rotation scheme, which involved the
  global audit mutex and condition variables, with an sx lock which protects
  the trail vnode and credential while in use, and is acquired by the system
  call code when rotating the trail.  Previously, a "message" would be sent
  to the kernel audit worker, which did the rotation, but the new code is
  simpler and (hopefully) less error-prone.
  
  Obtained from:  TrustedBSD Project
  MFC after:      1 month
  
  Revision  Changes    Path
  1.20      +98 -163   src/sys/security/audit/audit_worker.c


More information about the cvs-src mailing list