]> git.michaelhowe.org Git - packages/o/openafs.git/commit
DEVEL15-windows-pioctl-refactoring-20080612
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 26 Jun 2008 15:58:05 +0000 (15:58 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 26 Jun 2008 15:58:05 +0000 (15:58 +0000)
commit6c12a4fe21400d1ff499d87ae2ce819e7505daaa
tree00f0fc55ef973c2114a35c6639208db3ec4e32da
parent4af511a43aecf7649cc90627f8c02ef7af3cf2df
DEVEL15-windows-pioctl-refactoring-20080612

LICENSE MIT

Refactor the pioctl handling to provide a layer of abstraction
between the smb server and the actual pioctl data processing.
This will permit a redirector pioctl layer to be implemented
on top of the core cm_ioctl interfaces.

The general approach is that there is a new cm_ioctl_t object
which is embedded withing a higher level abstraction object.
This object maintains all of the pioctl state processing and
removes any notion of file descriptors or other communication
channel parameters.

The cm_ioctl module maintains just about all of the core
functional processing except for SetToken which needs further
abstraction.  Path processing is now performed at the higher
layer and cm_ioctl functions accept cm_user_t, cm_scache_t,
and cm_req_t objects from the higher layer.

The smb_ioctl module performs all of the path translation
using smb server knowledge and passes the necessary objects
to the cm_ioctl module for processing.

(cherry picked from commit d8c3a598184df6066c330769e49fb1e301464e52)
src/WINNT/afsd/afsd.h
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_ioctl.h
src/WINNT/afsd/cm_user.c
src/WINNT/afsd/cm_vnodeops.c
src/WINNT/afsd/smb.c
src/WINNT/afsd/smb.h
src/WINNT/afsd/smb_iocons.h
src/WINNT/afsd/smb_ioctl.c
src/WINNT/afsd/smb_ioctl.h