mirror of
https://github.com/reactos/reactos.git
synced 2026-07-02 05:44:26 +08:00
Fix access rights (even if not checked in KernelMode)
svn path=/trunk/; revision=19341
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user