OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-21-g94bdfb9
Gerrit Code Review
gerrit@openafs.org
Mon, 7 Jan 2013 11:41:25 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 94bdfb9a44d85da9732e737b7925128c34f3dffe
Author: Rod Widdowson <rdw@steadingsoftware.com>
Date: Fri Dec 28 15:43:52 2012 +0000
Windows: Restrict the Service IOCTLS to the service process
When the service starts the system we save it's PID and when we see a
IOCTL_AFS_INITIALIZE_REDIRECTOR_DEVICE,
IOCTL_AFS_PROCESS_IRP_REQUEST, IOCTL_AFS_PROCESS_IRP_RESULT,
IOCTL_AFS_SYSNAME_NOTIFICATION or IOCTL_AFS_SYSNAME_NOTIFICATION
ioctl we check that the calling process has that PID.
Change-Id: Ie66676bba4b4e4d858979babe9c0af4c53ea0143
Reviewed-on: http://gerrit.openafs.org/8844
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 3ee5e20170b4c42f6fccabaf70e28d14e35fae53)
Reviewed-on: http://gerrit.openafs.org/8886
src/WINNT/afsrdr/kernel/fs/AFSCleanup.cpp | 6 +++
src/WINNT/afsrdr/kernel/fs/AFSCommSupport.cpp | 44 +++++++++++++++++++++-
src/WINNT/afsrdr/kernel/fs/AFSProcessSupport.cpp | 20 ++++++++++
src/WINNT/afsrdr/kernel/fs/Include/AFSCommon.h | 9 ++++
4 files changed, 78 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository