lkml.org 
[lkml]   [2006]   [Apr]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Verify Kernel Pointer
FromArjan van de Ven <>
DateThu, 20 Apr 2006 10:39:25 +0200
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    [from the cache]
©2003-2008