Hello!
How do I access the data and its length mapped to a file
after returning from generic_file_mmap(file,vma) inside
the kernel?
How about more than one page?
int <A_FILESYSTEM_NAME (ext3 for ex.)>_file_mmap(struct file * file,
struct vm_area_struct * vma)
{
int addr;
addr=generic_file_mmap(file,vma);
?????
return addr;
}
Thanks