Fix access rights (even if not checked in KernelMode)

svn path=/trunk/; revision=19341
This commit is contained in:
Hervé Poussineau
2005-11-19 09:29:20 +00:00
parent b4c206def5
commit 2c5fc4425c

View File

@@ -1153,7 +1153,7 @@ NTSTATUS NTAPI DriverEntry(PDRIVER_OBJECT DriverObject,
* Create the queue processing thread. Save its handle in the global variable
* ThreadHandle so we can wait on its termination during Unload.
*/
if(PsCreateSystemThread(&ThreadHandle, 0, 0, 0, 0, QueueThread, 0) != STATUS_SUCCESS)
if(PsCreateSystemThread(&ThreadHandle, THREAD_ALL_ACCESS, 0, 0, 0, QueueThread, 0) != STATUS_SUCCESS)
{
DPRINT("floppy: Unable to create system thread; failing init\n");
return STATUS_INSUFFICIENT_RESOURCES;