Doron,
I’m not trying prevent something. I’m only curious with the
question issued by armtech@zj.com.
Thanks for your attention,
Fernando.
-----Mensagem original-----
De: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] Em nome de Doron Holan
Enviada em: sexta-feira, 4 de novembro de 2005 14:42
Para: Windows System Software Devs Interest List
Assunto: RE: [ntdev] how to write wdm driver prevent from being called
by other’s driver
It can be manipulated as well. What are you trying to prevent? What
form of security do you think you are creating by not allowing a driver
to open your device? The same driver could attach itself as a filter
and see all i/o from your user mode app that your driver handles.
Like I said before, the entire kernel is a trusted space, you can’t do
much to exclude someone else in that space from seeing your data.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Fernando Roberto
Sent: Friday, November 04, 2005 8:28 AM
To: Windows System Software Devs Interest List
Subject: RES: [ntdev] how to write wdm driver prevent from being called
by other’s driver
So, it’s possible detect this context only by calling
ExGetPreviousMode(), or this information can be manipulated too?
Regards,
Fernando.
-----Mensagem original-----
De: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] Em nome de Doron Holan
Enviada em: sexta-feira, 4 de novembro de 2005 14:12
Para: Windows System Software Devs Interest List
Assunto: RE: [ntdev] how to write wdm driver prevent from being called
by other’s driver
As a kernel mode component, I can change the Irp-
RequestorMode before it reaches your driver.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Fernando Roberto
Sent: Friday, November 04, 2005 1:40 AM
To: Windows System Software Devs Interest List
Subject: RES: [ntdev] how to write wdm driver prevent from being called
by other’s driver
Doron,
In this case, can’t we differ user mode calls from kernel mode calls by
checking RequestMode parameter in the IRP header or calling
GetPreviewsMode()?
Regards,
Fernando Roberto da Silva.
-----Mensagem original-----
De: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] Em nome de Doron Holan
Enviada em: quinta-feira, 3 de novembro de 2005 23:29
Para: Windows System Software Devs Interest List
Assunto: RE: [ntdev] how to write wdm driver prevent from being called
by other’s driver
No, this is not possible. A kernel component can call your driver just
like any other application can. The kernel is a trusted space, so the
kernel driver opening your driver is as trusted or even more trusted
then the user mode process which is opening your driver.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of armtech@zj.com
Sent: Thursday, November 03, 2005 5:00 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] how to write wdm driver prevent from being called by
other’s driver
hi,
I have writed a wdm usb device driver which is similar to ft232bm d2xx
driver. And I also write an dll api for it. We don’t want our driver can
be
called by others driver in the kernel directly.If it is possible?
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com