- Fix a desired access bug that totally broke event select
- FILE_ALL_ACCESS is NOT equal to EVENT_ALL_ACCESS

svn path=/trunk/; revision=52563
This commit is contained in:
Cameron Gutman 2011-07-07 23:17:23 +00:00
parent 31774f263a
commit 62cbe9d8f0

View file

@ -286,7 +286,7 @@ AfdEventSelect( PDEVICE_OBJECT DeviceObject, PIRP Irp,
if( EventSelectInfo->EventObject && EventSelectInfo->Events ) {
Status = ObReferenceObjectByHandle( (PVOID)EventSelectInfo->
EventObject,
FILE_ALL_ACCESS,
EVENT_ALL_ACCESS,
ExEventObjectType,
UserMode,
(PVOID *)&FCB->EventSelect,