Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2008 01:24:52 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/security/audit audit.c audit_arg.c audit_syscalls.c
Message-ID:  <200811140125.mAE1PB1J024393@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2008-11-14 01:24:52 UTC

  FreeBSD src repository

  Modified files:
    sys/security/audit   audit.c audit_arg.c audit_syscalls.c 
  Log:
  SVN rev 184948 on 2008-11-14 01:24:52Z by rwatson
  
  When repeatedly accessing a thread credential, cache the credential
  pointer in a local thread.  While this is unlikely to significantly
  improve performance given modern compiler behavior, it makes the code
  more readable and reduces diffs to the Mac OS X version of the same
  code (which stores things in creds in the same way, but where the
  cred for a thread is reached quite differently).
  
  Discussed with: sson
  MFC after:      1 month
  Sponsored by:   Apple Inc.
  Obtained from:  TrustedBSD Project
  
  Revision  Changes    Path
  1.49      +15 -10    src/sys/security/audit/audit.c
  1.28      +9 -7      src/sys/security/audit/audit_arg.c
  1.34      +24 -25    src/sys/security/audit/audit_syscalls.c



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