patch from Pierre Schweitzer <heis_spiter at hotmail dot com>

comment from Pierre Schweitzer
In rev 27054, ekohl reduced access right when creating partition list (when
opening "disk"). To work, usetup needs more rights (like reading contents). So
this patch adds the missing right
See issue #2293 for more details.

svn path=/trunk/; revision=27064
This commit is contained in:
Magnus Olsen 2007-06-07 21:33:17 +00:00
parent fb92e1fc3d
commit 7eedda6459

View file

@ -949,7 +949,7 @@ CreatePartitionList (SHORT Left,
NULL);
Status = NtOpenFile (&FileHandle,
FILE_READ_ATTRIBUTES | SYNCHRONIZE,
FILE_READ_DATA | FILE_READ_ATTRIBUTES | SYNCHRONIZE,
&ObjectAttributes,
&Iosb,
FILE_SHARE_READ,