Windows: Police Library IOCTLs
authorRod Widdowson <rdw@steadingsoftware.com>
Sun, 30 Dec 2012 11:13:24 +0000 (11:13 +0000)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 22 Jan 2013 02:21:41 +0000 (18:21 -0800)
commit4da5f0b498782094b979737f6bee6e0bd2f5cb79
tree6ecf3d6c858c9e4a8266a0ecff92cfdf1a0a3636
parentdd672fffe9bfef6bd872b008e7f3e3dd5f904a80
Windows: Police Library IOCTLs

Ensure that the callers of the various library ioctls have
the correct identity or privs.  All this policing is done in
the fs (non unloadable) layer, and to ensure that the library
layer cannot receive these calls directly we forbid non
create Opens of the library control device.

Change-Id: I2342fe10047642082adfbd1cc6aaee09cc91b520
Reviewed-on: http://gerrit.openafs.org/8893
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/fs/AFSCommSupport.cpp
src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp
src/WINNT/afsrdr/kernel/lib/AFSDevControl.cpp