Lock the OS in kernel mode.how?

I’ve got a question about lock the OS in the kernel mode,which looks like
the win2k normal locking dialog in the Ring3.Is there anybody who can give
some help for me? some links are all ok.

You shuldn’t at all lock the whole kernel. U’d rather use dedicated spin
locks or critical sections.

And? You can’t open dialog boxes fromout kernel mode. OK, there must be
some way, win32k is also here, but this is not intended.

Ming schrieb:

I’ve got a question about lock the OS in the kernel mode,which looks like
the win2k normal locking dialog in the Ring3.Is there anybody who can give
some help for me? some links are all ok.


Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@koepferl.de
To unsubscribe send a blank email to xxxxx@lists.osr.com

I dont know if someone here has the experience of writting VxD. My purpose
is doing the work like
SHELL_SYSMODAL_Message function does.
I’ve customize my GINA.dll,which pops up the locking dialog automatically
when specified event occurs.
But the system is still running. Is there any way to do the same work as
SoftIce does? Not for debug,just
block the system.
“Robert K.” ???:xxxxx@ntfsd…
>
> You shuldn’t at all lock the whole kernel. U’d rather use dedicated spin
> locks or critical sections.
>
> And? You can’t open dialog boxes fromout kernel mode. OK, there must be
> some way, win32k is also here, but this is not intended.
>
> Ming schrieb:
> > I’ve got a question about lock the OS in the kernel mode,which looks
like
> > the win2k normal locking dialog in the Ring3.Is there anybody who can
give
> > some help for me? some links are all ok.
> >
> > —
> > Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@koepferl.de
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>

Why on earth would you even want to do this? It just sounds like a bad
idea.

What are you trying to achieve?

– arlie

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ming
Sent: Wednesday, December 17, 2003 8:20 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: Lock the OS in kernel mode.how?

I dont know if someone here has the experience of writting VxD. My
purpose is doing the work like SHELL_SYSMODAL_Message function does.
I’ve customize my GINA.dll,which pops up the locking dialog
automatically when specified event occurs. But the system is still
running. Is there any way to do the same work as SoftIce does? Not for
debug,just block the system. “Robert K.”
???:xxxxx@ntfsd…
>
> You shuldn’t at all lock the whole kernel. U’d rather use dedicated
> spin locks or critical sections.
>
> And? You can’t open dialog boxes fromout kernel mode. OK, there must
> be some way, win32k is also here, but this is not intended.
>
> Ming schrieb:
> > I’ve got a question about lock the OS in the kernel mode,which looks
like
> > the win2k normal locking dialog in the Ring3.Is there anybody who
> > can
give
> > some help for me? some links are all ok.
> >
> > —
> > Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@koepferl.de To
> > unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@sublinear.org To
unsubscribe send a blank email to xxxxx@lists.osr.com

I am implementing an encryption/decryption fs filter driver. Both the
algorithm and user information that the filter driver need are built in a
USB key.
When the user pull out the key by accident, my filter driver can not go
down. Even worst, user’s encrypted file will be corrupted. So, this is my
reason.
thanks a lot. Do u have another better way for this?

Regards,
Ming
“Arlie Davis” ???:xxxxx@ntfsd…
>
> Why on earth would you even want to do this? It just sounds like a bad
> idea.
>
> What are you trying to achieve?
>
> – arlie
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Ming
> Sent: Wednesday, December 17, 2003 8:20 PM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] Re: Lock the OS in kernel mode.how?
>
>
> I dont know if someone here has the experience of writting VxD. My
> purpose is doing the work like SHELL_SYSMODAL_Message function does.
> I’ve customize my GINA.dll,which pops up the locking dialog
> automatically when specified event occurs. But the system is still
> running. Is there any way to do the same work as SoftIce does? Not for
> debug,just block the system. “Robert K.”
> ???:xxxxx@ntfsd…
> >
> > You shuldn’t at all lock the whole kernel. U’d rather use dedicated
> > spin locks or critical sections.
> >
> > And? You can’t open dialog boxes fromout kernel mode. OK, there must
> > be some way, win32k is also here, but this is not intended.
> >
> > Ming schrieb:
> > > I’ve got a question about lock the OS in the kernel mode,which looks
> like
> > > the win2k normal locking dialog in the Ring3.Is there anybody who
> > > can
> give
> > > some help for me? some links are all ok.
> > >
> > > —
> > > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> > >
> > > You are currently subscribed to ntfsd as: xxxxx@koepferl.de To
> > > unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
>
>
>
> —
> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@sublinear.org To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>

Greetings mortal, Ming!
You wrote on Thu, 18 Dec 2003 13:57:06 +0800:

M> I am implementing an encryption/decryption fs filter driver. Both the
M> algorithm and user information that the filter driver need are built
M> in a
M> USB key.
M> When the user pull out the key by accident, my filter driver can not
M> go down. Even worst, user’s encrypted file will be corrupted. So,
M> this is my reason.
M> thanks a lot. Do u have another better way for this?

You have to deny access to encrypted file without a key. Look at EFS.

Eugene.

Then IoRaiseInformationalHardError is a way.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Ming”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Thursday, December 18, 2003 8:57 AM
Subject: [ntfsd] Re: Lock the OS in kernel mode.how?

> I am implementing an encryption/decryption fs filter driver. Both the
> algorithm and user information that the filter driver need are built in a
> USB key.
> When the user pull out the key by accident, my filter driver can not go
> down. Even worst, user’s encrypted file will be corrupted. So, this is my
> reason.
> thanks a lot. Do u have another better way for this?
>
>
> Regards,
> Ming
> “Arlie Davis” ???:xxxxx@ntfsd…
> >
> > Why on earth would you even want to do this? It just sounds like a bad
> > idea.
> >
> > What are you trying to achieve?
> >
> > – arlie
> >
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Ming
> > Sent: Wednesday, December 17, 2003 8:20 PM
> > To: Windows File Systems Devs Interest List
> > Subject: [ntfsd] Re: Lock the OS in kernel mode.how?
> >
> >
> > I dont know if someone here has the experience of writting VxD. My
> > purpose is doing the work like SHELL_SYSMODAL_Message function does.
> > I’ve customize my GINA.dll,which pops up the locking dialog
> > automatically when specified event occurs. But the system is still
> > running. Is there any way to do the same work as SoftIce does? Not for
> > debug,just block the system. “Robert K.”
> > ???:xxxxx@ntfsd…
> > >
> > > You shuldn’t at all lock the whole kernel. U’d rather use dedicated
> > > spin locks or critical sections.
> > >
> > > And? You can’t open dialog boxes fromout kernel mode. OK, there must
> > > be some way, win32k is also here, but this is not intended.
> > >
> > > Ming schrieb:
> > > > I’ve got a question about lock the OS in the kernel mode,which looks
> > like
> > > > the win2k normal locking dialog in the Ring3.Is there anybody who
> > > > can
> > give
> > > > some help for me? some links are all ok.
> > > >
> > > > —
> > > > Questions? First check the IFS FAQ at
> > https://www.osronline.com/article.cfm?id=17
> > > >
> > > > You are currently subscribed to ntfsd as: xxxxx@koepferl.de To
> > > > unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> > >
> > >
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> > https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@sublinear.org To
> > unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> >
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Oh my god
“Eugene Lomovsky” дÈëÏûÏ¢ÐÂÎÅ:xxxxx@ntfsd…
>
> Greetings mortal, Ming!
> You wrote on Thu, 18 Dec 2003 13:57:06 +0800:
>
>
> M> I am implementing an encryption/decryption fs filter driver. Both the
> M> algorithm and user information that the filter driver need are built
> M> in a
> M> USB key.
> M> When the user pull out the key by accident, my filter driver can not
> M> go down. Even worst, user’s encrypted file will be corrupted. So,
> M> this is my reason.
> M> thanks a lot. Do u have another better way for this?
>
> You have to deny access to encrypted file without a key. Look at EFS.
>
> Eugene.
>
>
>
>

I’ve tried it. But BSOD.

“Maxim S. Shatskih” ???:xxxxx@ntfsd…
>
> Then IoRaiseInformationalHardError is a way.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “Ming”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Thursday, December 18, 2003 8:57 AM
> Subject: [ntfsd] Re: Lock the OS in kernel mode.how?
>
>
> > I am implementing an encryption/decryption fs filter driver. Both the
> > algorithm and user information that the filter driver need are built in
a
> > USB key.
> > When the user pull out the key by accident, my filter driver can not go
> > down. Even worst, user’s encrypted file will be corrupted. So, this is
my
> > reason.
> > thanks a lot. Do u have another better way for this?
> >
> >
> > Regards,
> > Ming
> > “Arlie Davis” ???:xxxxx@ntfsd…
> > >
> > > Why on earth would you even want to do this? It just sounds like a
bad
> > > idea.
> > >
> > > What are you trying to achieve?
> > >
> > > – arlie
> > >
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com
> > > [mailto:xxxxx@lists.osr.com] On Behalf Of Ming
> > > Sent: Wednesday, December 17, 2003 8:20 PM
> > > To: Windows File Systems Devs Interest List
> > > Subject: [ntfsd] Re: Lock the OS in kernel mode.how?
> > >
> > >
> > > I dont know if someone here has the experience of writting VxD. My
> > > purpose is doing the work like SHELL_SYSMODAL_Message function does.
> > > I’ve customize my GINA.dll,which pops up the locking dialog
> > > automatically when specified event occurs. But the system is still
> > > running. Is there any way to do the same work as SoftIce does? Not for
> > > debug,just block the system. “Robert K.”
> > > ???:xxxxx@ntfsd…
> > > >
> > > > You shuldn’t at all lock the whole kernel. U’d rather use dedicated
> > > > spin locks or critical sections.
> > > >
> > > > And? You can’t open dialog boxes fromout kernel mode. OK, there must
> > > > be some way, win32k is also here, but this is not intended.
> > > >
> > > > Ming schrieb:
> > > > > I’ve got a question about lock the OS in the kernel mode,which
looks
> > > like
> > > > > the win2k normal locking dialog in the Ring3.Is there anybody who
> > > > > can
> > > give
> > > > > some help for me? some links are all ok.
> > > > >
> > > > > —
> > > > > Questions? First check the IFS FAQ at
> > > https://www.osronline.com/article.cfm?id=17
> > > > >
> > > > > You are currently subscribed to ntfsd as: xxxxx@koepferl.de To
> > > > > unsubscribe send a blank email to xxxxx@lists.osr.com
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > —
> > > Questions? First check the IFS FAQ at
> > > https://www.osronline.com/article.cfm?id=17
> > >
> > > You are currently subscribed to ntfsd as: xxxxx@sublinear.org To
> > > unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> > >
> > >
> >
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>