From: David W. <we...@cw...> - 2002-07-10 20:05:26
|
On Wed, Jul 10, 2002 at 08:50:35PM +0200, KJK::Hyperion wrote: > I'll jump on the bandwagon... they should copy and check parameters, and > check permissions, only if ExGetPreviousMode == KernelMode. I read this on > NTDEV months ago, and I waited for the occasion to say it :-) > MmCopyToCaller/MmCopyFromCaller should already do the right thing for the value of previous mode; they also encapsulate the checks that the caller can legally access the address in question. |