Re: Verify Kernel Pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My module pass back pointer to user application when device is opened. From that point, user application request different services from my module.

In order to avoid any lookup overhead, kernel virtual pointer is passed back to user application.

Talib

On 4/20/06, Talib Alim <talibalm@xxxxxxxxxxx> wrote:
> A kernel virtual address is passed to my module. In order to avoid any
> chances of a crash, how can I verify this pointer is pointing to a mapped
> memory location.

Can you elaborate more on this ?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux