Windows: fs getcalleraccess
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 3 Dec 2012 18:39:18 +0000 (13:39 -0500)
committerJeffrey Altman <jaltman@your-file-system.com>
Wed, 5 Dec 2012 20:14:46 +0000 (12:14 -0800)
commit5616b7e2f91c9cdac1f026b852b8db923de11a10
tree7b2aa7ae6138c5b4eccb267b834a9eba2ccc1587
parent5adf1476b1c95ab61f7944f751928e5f47720478
Windows: fs getcalleraccess

Implement VIOC_GETCALLERACCESS and associated 'fs getcalleraccess'
for Windows.  Varies from the Unix implementation in the following
ways:

 * getcalleraccess supports the -literal switch to permit
   querying rights of symlinks and mount points

 * multiple files can be provided on a single command line

The VIOC_GETCALLERACCESS pioctl returns the user access rights
and the anyuser access rights.

Change-Id: I75f636956bbafcc91144b44bd2d7729b8643605c
Reviewed-on: http://gerrit.openafs.org/8598
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_ioctl.h
src/WINNT/afsd/fs.c
src/WINNT/afsd/smb_iocons.h
src/WINNT/afsd/smb_ioctl.c
src/WINNT/afsd/smb_ioctl.h
src/WINNT/afsrdr/user/RDRIoctl.c
src/WINNT/afsrdr/user/RDRIoctl.h