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

Re: Can a driver create a VMA?



Ed L Cashin wrote:

If you haven't already been looking at the mprotect code, you should
consider checking it out.  It will show you how to create, split, and
merge VMAs.  Depending on what you're doing, you may also be able to
simply mprotect a region in order to create a VMA.

Well, the problem is that none of these useful functions are exported, so I can't call them.


--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

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