John Navil Joseph <cs99185@nitc.ac.in> wrote: > > hi, > > whats the difference between VM_READ and VM_MAYREAD flags ; > VM_READ means that the pages may be read from. VM_MAYREAD means that VM_READ may be turned on via mprotect(), even if it is not turned on now. It isn't often useful for READ, but !VM_MAYWRITE is fairly important - we don't want users using mprotect(PROT_WRITE) to start scribbling on libc.so. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/