- Timestamp:
- Oct 11, 2014 7:48:10 AM (10 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
r53034 r53036 1811 1811 1812 1812 NTSTATUS rcNt = NtCreateFile(&hFile, 1813 GENERIC_READ ,1813 GENERIC_READ | SYNCHRONIZE, 1814 1814 &ObjAttr, 1815 1815 &Ios, -
trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp
r53002 r53036 158 158 159 159 NTSTATUS rcNt = NtCreateFile(&hDevice, 160 GENERIC_READ | GENERIC_WRITE, 160 GENERIC_READ | GENERIC_WRITE, /* No SYNCHRONIZE. */ 161 161 &ObjAttr, 162 162 &Ios, … … 165 165 FILE_SHARE_READ | FILE_SHARE_WRITE, 166 166 FILE_OPEN, 167 FILE_NON_DIRECTORY_FILE, 167 FILE_NON_DIRECTORY_FILE, /* No FILE_SYNCHRONOUS_IO_NONALERT! */ 168 168 NULL /*EaBuffer*/, 169 169 0 /*EaLength*/); -
trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp
r53034 r53036 4221 4221 InitializeObjectAttributes(&ObjAttr, &NtName, OBJ_CASE_INSENSITIVE, NULL /*hRootDir*/, NULL /*pSecDesc*/); 4222 4222 NTSTATUS rcNt = NtCreateFile(&hFile, 4223 GENERIC_READ, 4223 GENERIC_READ, /* No SYNCHRONIZE. */ 4224 4224 &ObjAttr, 4225 4225 &Ios, … … 4228 4228 FILE_SHARE_READ | FILE_SHARE_WRITE, 4229 4229 FILE_OPEN, 4230 FILE_NON_DIRECTORY_FILE, 4230 FILE_NON_DIRECTORY_FILE, /* No FILE_SYNCHRONOUS_IO_NONALERT. */ 4231 4231 NULL /*EaBuffer*/, 4232 4232 0 /*EaLength*/); … … 4374 4374 4375 4375 rcNt = NtCreateFile(&hFile, 4376 GENERIC_READ | GENERIC_WRITE, 4376 GENERIC_READ | GENERIC_WRITE, /* No SYNCHRONIZE. */ 4377 4377 &ObjAttr, 4378 4378 &Ios, … … 4381 4381 FILE_SHARE_READ | FILE_SHARE_WRITE, 4382 4382 FILE_OPEN, 4383 FILE_NON_DIRECTORY_FILE, 4383 FILE_NON_DIRECTORY_FILE, /* No FILE_SYNCHRONOUS_IO_NONALERT. */ 4384 4384 NULL /*EaBuffer*/, 4385 4385 0 /*EaLength*/); … … 4841 4841 InitializeObjectAttributes(&ObjAttr, &UniStrName, OBJ_CASE_INSENSITIVE, NULL /*hRootDir*/, NULL /*pSecDesc*/); 4842 4842 NTSTATUS rcNt = NtCreateFile(&hFile, 4843 GENERIC_READ ,4843 GENERIC_READ | SYNCHRONIZE, 4844 4844 &ObjAttr, 4845 4845 &Ios, … … 5305 5305 UniStrName.MaximumLength = UniStrName.Length + sizeof(WCHAR); 5306 5306 InitializeObjectAttributes(&ObjAttr, &UniStrName, OBJ_CASE_INSENSITIVE, NULL /*hRootDir*/, NULL /*pSecDesc*/); 5307 rcNt = NtCreateFile(&hFile, GENERIC_READ , &ObjAttr, &Ios, NULL /* Allocation Size*/, FILE_ATTRIBUTE_NORMAL,5308 FILE_ SHARE_READ, FILE_OPEN, FILE_NON_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT,5309 NULL /*EaBuffer*/, 0 /*EaLength*/);5307 rcNt = NtCreateFile(&hFile, GENERIC_READ | SYNCHRONIZE, &ObjAttr, &Ios, NULL /* Allocation Size*/, 5308 FILE_ATTRIBUTE_NORMAL, FILE_SHARE_READ, FILE_OPEN, 5309 FILE_NON_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT, NULL /*EaBuffer*/, 0 /*EaLength*/); 5310 5310 if (NT_SUCCESS(rcNt) && NT_SUCCESS(Ios.Status)) 5311 5311 {
Note:
See TracChangeset
for help on using the changeset viewer.