Re: user space virtual address to a vm_area_struct

From: Brian Gerst (
Date: Wed Oct 16 2002 - 06:13:52 EST

Melkor Ainur wrote:
> Hi,
> Is there a recommended way for a driver to take an
> application provided virtual address while executing
> in the syscall context of that same application and
> find the corresponding vm_area_struct (if exists for
> that address) that spans that virtual address?
> Melkor

vma = find_vma(current->mm, address);

				Brian Gerst

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:27 EST