ms-nfs41-client/sys
Olga Kornievskaia 2db91a3001 deny setattr for size if not opened for write
proposes an alternate solution for attempts to set file size without an open sta
teid.  instead of acquiring one by sending OPEN, fail the request with ACCESS_DE
NIED

according the MS File System Algorithms documentation for setting FileAllocation
Information and FileEndOfFileInformation [http://msdn.microsoft.com/en-us/librar
y/ff469355%28v=PROT.10%29.aspx]:
"If Open.GrantedAccess does not contain FILE_WRITE_DATA, the operation MUST be f
ailed with STATUS_ACCESS_DENIED"

-removes open_owner_id, access_mask, access_mode from setattr upcall arguments
-moves map_access_2_allowdeny() back to open.c as a static function, since handl
e_setattr() was its only other call site
2011-06-27 14:51:15 -04:00
..
makefile fresh git tree for public release 2010-10-12 10:15:48 -04:00
nfs41_debug.c [driver] [cosmetic] changing printfs 2011-04-19 14:00:45 -04:00
nfs41_debug.h [driver] [cosmetic] restructuring debugging output 2011-04-14 20:14:21 -04:00
nfs41_driver.c deny setattr for size if not opened for write 2011-06-27 14:51:15 -04:00
nfs41_driver.h first stab at handling security irp 2011-03-22 17:21:13 -04:00
nfs41_driver.ini fresh git tree for public release 2010-10-12 10:15:48 -04:00
nfs41_driver.rc fresh git tree for public release 2010-10-12 10:15:48 -04:00
sources fresh git tree for public release 2010-10-12 10:15:48 -04:00
wmlkm.c fresh git tree for public release 2010-10-12 10:15:48 -04:00
wmlkm.h fresh git tree for public release 2010-10-12 10:15:48 -04:00