summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_clock.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-08-07 19:30:16 +0000
committerrwatson <rwatson@FreeBSD.org>2002-08-07 19:30:16 +0000
commit4d0a996d1847d5f0e3aaf2638276de9ee9f15ca3 (patch)
treeafc172c84ecbd0a50670e39ee8dae93a7a9df431 /sys/kern/subr_clock.c
parent227736bae6503488a6a05abd330da40c7c754a02 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud