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

Robert Watson rwatson at FreeBSD.org
Sun Apr 6 14:03:58 UTC 2008


rwatson     2008-04-06 14:03:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/security/audit   audit_worker.c 
  Log:
  Merge audit_worker.c:1.20 from HEAD to RELENG_7:
  
    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
  
  Revision  Changes    Path
  1.16.2.2  +106 -171  src/sys/security/audit/audit_worker.c


More information about the cvs-src mailing list