diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-07 19:30:16 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-07 19:30:16 +0000 |
commit | 4d0a996d1847d5f0e3aaf2638276de9ee9f15ca3 (patch) | |
tree | afc172c84ecbd0a50670e39ee8dae93a7a9df431 /sys/kern/subr_clock.c | |
parent | 227736bae6503488a6a05abd330da40c7c754a02 (diff) | |
download | FreeBSD-src-4d0a996d1847d5f0e3aaf2638276de9ee9f15ca3.zip FreeBSD-src-4d0a996d1847d5f0e3aaf2638276de9ee9f15ca3.tar.gz |
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
Diffstat (limited to 'sys/kern/subr_clock.c')
0 files changed, 0 insertions, 0 deletions