]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE10-linux-dentry-revalidation-always-revalidate-20010420
authorDerrick Brashear <shadow@dementia.org>
Mon, 23 Apr 2001 08:43:22 +0000 (08:43 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 23 Apr 2001 08:43:22 +0000 (08:43 +0000)
commit0d9ec18eee0df7ba88b80a52dfab43ac69c3764a
treee92e96b080d7e0186622d69cd6df96434b9ae118
parent553dbbd299c11c701492f5b02004e5cda92464c8
STABLE10-linux-dentry-revalidation-always-revalidate-20010420

Based on collaboration with Chas Williams and Chaskiel Grundman

Always force revalidation so if call which caused caching was in another
authentication "context" we don't inadvertantly leak information.

Cases where things matter involve bad caching for negative dentries
(something fails because you don't have permission, then you authenticate
and the negative dentry is not flushed) or when you have l only and
someone with rl caused the dentry to get cached, in which case stat()
information and nothing else is leaked

(cherry picked from commit 8d91087287cb0e4e15ca1b2eb64bca8dbc9077c0)
src/afs/LINUX/osi_vnodeops.c