lkml.org 
[lkml]   [2006]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Verify Kernel Pointer
From
Date
On Thu, 2006-04-20 at 03:33 +0000, Talib Alim wrote:
> A kernel virtual address is passed to my module.

that sounds like a design bug (if the "passed to" is from userspace)
> In order to avoid any
> chances of a crash, how can I verify this pointer is pointing to a mapped
> memory location.

given your design bug, I would suggest you post the URL to your code so
that we can help you fix your design instead...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-20 10:42    [W:0.033 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site