Re: can I wait an event object in a different driver?
- From: "David Craig" <NoOne@xxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 14:18:27 -0700
I think they can see the name and then create a symbolic link that will be
valid in user mode. Also using security on the name can help keep user mode
from playing with it. Try objdir from OSR or the one from sysinternals and
see if your event is exposed. If so, I think they can create a symbolic
link unless security stops them because of the ACL on the name.
"Ray Trent" <ratrent@xxxxxxxxxxxxx> wrote in message
news:%23ac3CucRFHA.3944@xxxxxxxxxxxxxxxxxxxxxxx
> Just curious: if a UM app can open any object anywhere in the namespace,
> why do we have to bother with creating a symbolic link to expose a device
> to user mode?
>
> I was under the impression that UM apps had access to a limited subset of
> the object namespace...
>
> Doron Holan [MS] wrote:
>> it doesn't matter. the \Device name is for devices, not for other types
>> of devices. If 2 drivers are sharing an event, have one driver open the
>> other, send a custom IOCTL and just pass the PKEVENT back to the caller.
>> This way you do not surface a name. Once you create a named object,
>> *anyone* can open it, including user mode. probably not what you want to
>> happen.
>>
>> d
>>
>
> --
> ../ray\..
.
- Follow-Ups:
- Re: can I wait an event object in a different driver?
- From: Ray Trent
- Re: can I wait an event object in a different driver?
- References:
- can I wait an event object in a different driver?
- From: robert
- Re: can I wait an event object in a different driver?
- From: Alexander Grigoriev
- Re: can I wait an event object in a different driver?
- From: robert
- Re: can I wait an event object in a different driver?
- From: Ray Trent
- Re: can I wait an event object in a different driver?
- From: robert
- Re: can I wait an event object in a different driver?
- From: Ray Trent
- Re: can I wait an event object in a different driver?
- From: robert
- Re: can I wait an event object in a different driver?
- From: Calvin Guan
- Re: can I wait an event object in a different driver?
- From: robert
- Re: can I wait an event object in a different driver?
- From: Ray Trent
- Re: can I wait an event object in a different driver?
- From: robert
- Re: can I wait an event object in a different driver?
- From: Vijay Anand Purushothaman
- Re: can I wait an event object in a different driver?
- From: Alexander Grigoriev
- Re: can I wait an event object in a different driver?
- From: Vijay Anand Purushothaman
- Re: can I wait an event object in a different driver?
- From: Doron Holan [MS]
- Re: can I wait an event object in a different driver?
- From: Vijay Anand Purushothaman
- Re: can I wait an event object in a different driver?
- From: Doron Holan [MS]
- Re: can I wait an event object in a different driver?
- From: Ray Trent
- can I wait an event object in a different driver?
- Prev by Date: Re: NDIS miniport driver
- Next by Date: WDM capture driver and MPEG-2 video.
- Previous by thread: Re: can I wait an event object in a different driver?
- Next by thread: Re: can I wait an event object in a different driver?
- Index(es):
Relevant Pages
|