]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: Detect if AFSCache is memory mapped to a new address
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 7 Jun 2010 22:18:39 +0000 (18:18 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Wed, 9 Jun 2010 14:36:21 +0000 (07:36 -0700)
commit53304359a77442cf3dd3f9f2dc8543a1d16af668
treee21da8e58029af99509c85646b25a39d6b538eea
parent8d18d4773a256b5bb567752e7f923b7713107cb0
Windows: Detect if AFSCache is memory mapped to a new address

The Windows AFSCache paging file contains pointer addresses
that are only valid if the file is memory mapped at a specific
memory address.  If the file is mapped at a new address, the
pointer values will be invalid and the service will crash with
an invalid memory access.

Check for address consistency and force the cache to be rebuilt
if the consistency is lost.

LICENSE MIT

Change-Id: Ie7fb64659f808f09279445f47c2f1385be0a53f0
Reviewed-on: http://gerrit.openafs.org/2095
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_memmap.c