Virtual Address Verification

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

 



I am allocating some memory through slab cache and passig pointer of the memory to user process. Next time user process should want to access this data struct, it needs to pass me back same address.

In my kernel module, I would like to verify that this address is valid kernel virtual address before acceing it. How can I do this ?

Talib

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
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