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

Robert Watson rwatson at FreeBSD.org
Mon Feb 6 14:30:56 PST 2006


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 be allocated from
  per-cpu caches.
  
  On recent FreeBSD, dropping the audit_mtx around freeing to UMA is
  no longer required (at one point it was possible to acquire Giant
  on that path), so a mutex-free thread-local drain is no longer
  required.
  
  Obtained from:  TrustedBSD Project
  
  Revision  Changes    Path
  1.4       +85 -100   src/sys/security/audit/audit.c


More information about the cvs-src mailing list