Re: mmap

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

 



On Wed, Oct 06, 2004 at 07:27:22AM +0000, Cristina Rivera wrote:
> Hi everybody,
> 
> I need some help with the mmap syscall, I'm writting a specific mmap 
> syscall in a device that I've created, it's a char device.  Well, I need to 
> recover the address parameter inside my mmap syscall, so I thought about 
> recovering it from vma->vm_start because in do_mmap_pgoff it's saved in 
> this field. But...when I access to this variable it doesn't contain the 

how do you access this variable? can you show some code?

-Riba


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