Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 10:45:58 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/security/audit audit.c audit.h audit_syscalls.c src/sys/sys proc.h
Message-ID:  <200903091047.n29AlgEu053379@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2009-03-09 10:45:58 UTC

  FreeBSD src repository

  Modified files:
    sys/security/audit   audit.c audit.h audit_syscalls.c 
    sys/sys              proc.h 
  Log:
  SVN rev 189570 on 2009-03-09 10:45:58Z by rwatson
  
  Add a new thread-private flag, TDP_AUDITREC, to indicate whether or
  not there is an audit record hung off of td_ar on the current thread.
  Test this flag instead of td_ar when auditing syscall arguments or
  checking for an audit record to commit on syscall return.  Under
  these circumstances, td_pflags is much more likely to be in the cache
  (especially if there is no auditing of the current system call), so
  this should help reduce cache misses in the system call return path.
  
  MFC after:      1 week
  Reported by:    kris
  Obtained from:  TrustedBSD Project
  
  Revision  Changes    Path
  1.50      +11 -2     src/sys/security/audit/audit.c
  1.24      +3 -3      src/sys/security/audit/audit.h
  1.37      +1 -0      src/sys/security/audit/audit_syscalls.c
  1.526     +1 -0      src/sys/sys/proc.h



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