From owner-cvs-src-old@FreeBSD.ORG Fri Nov 14 01:25:11 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD679106568B for ; Fri, 14 Nov 2008 01:25:11 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AAECC8FC1E for ; Fri, 14 Nov 2008 01:25:11 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mAE1PBY2024394 for ; Fri, 14 Nov 2008 01:25:11 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mAE1PB1J024393 for cvs-src-old@freebsd.org; Fri, 14 Nov 2008 01:25:11 GMT (envelope-from rwatson@repoman.freebsd.org) Message-Id: <200811140125.mAE1PB1J024393@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rwatson@repoman.freebsd.org using -f From: Robert Watson Date: Fri, 14 Nov 2008 01:24:52 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/security/audit audit.c audit_arg.c audit_syscalls.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2008 01:25:11 -0000 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