From owner-cvs-all Wed Aug 7 12:59: 7 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA36737B408; Wed, 7 Aug 2002 12:58:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2FC943E81; Wed, 7 Aug 2002 12:58:13 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (smmsp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g77JwDJc056844; Wed, 7 Aug 2002 12:58:13 -0700 (PDT) (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g77JUjeF053379; Wed, 7 Aug 2002 12:30:45 -0700 (PDT) Message-Id: <200208071930.g77JUjeF053379@freefall.freebsd.org> From: Robert Watson Date: Wed, 7 Aug 2002 12:30:45 -0700 (PDT) To: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: cvs commit: src/sys/kern kern_acct.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2002/08/07 12:30:45 PDT Modified files: sys/kern kern_acct.c Log: Cache the credential provided during accton() for use in later accounting vnode operations. This permits the rights of the user (typically root) used to turn on accounting to be used when writing out accounting entries, rather than the credentials of the process generating the accounting record. This fixes accounting in a number of environments, including file systems that offer revocation support, MAC environments, some securelevel scenarios, and in some NFS environments. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Revision Changes Path 1.47 +17 -5 src/sys/kern/kern_acct.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message