Windows: Refactor AFSProcessSupport
authorJeffrey Altman <jaltman@your-file-system.com>
Tue, 20 Mar 2012 01:10:31 +0000 (21:10 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 25 Mar 2012 20:50:20 +0000 (13:50 -0700)
commita54fefc0449fbccc881c017480cb92878bb460cb
tree2491755717824c7e575332f04c64bef0157ffc9e
parent95ec152a850c0cde33829481b8e71e7e7e686a58
Windows: Refactor AFSProcessSupport

Breakup AFSProcessNotify() into AFSProcessCreate() and
AFSProcessDestroy().

Correct inconsistencies with ETHREAD vs ThreadId HANDLE.

Add AFSProcessNotifyEx() and use PsSetCreateProcessNotifyRoutineEx()
to register it on Vista SP1 and above.

Change-Id: I2be85c3e8229883b4e239e1fdba9a65fc704daaa
Reviewed-on: http://gerrit.openafs.org/6926
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/fs/AFSInit.cpp
src/WINNT/afsrdr/kernel/fs/AFSProcessSupport.cpp
src/WINNT/afsrdr/kernel/fs/Include/AFSCommon.h
src/WINNT/afsrdr/kernel/fs/Include/AFSStructs.h