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 value that I'm passing throught the address parameter, do you know why I'm not getting the correct value??
Thanks, Cristina.
_________________________________________________________________
Un amor, una aventura, compañía para un viaje. Regístrate gratis en MSN Amor & Amistad. http://match.msn.es/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/