![]() | |||||||||||||
Messages in this thread |
On Fri, 2007-06-08 at 12:10 +0100, Alan Cox wrote: > > e. mremap() flag to get a read/write mapping of a read/exec one > > f. mremap() flag to get a read/exec mapping of a read/write one > > g. mremap() flag to make the 5th arg (new addr) be the upper limit > > This is all mprotect and munmap. I think he's asking for a way to copy an existing mapping, which does sound genuinely useful. (i.e. mremap(ptr, size, size, MREMAP_COPY), with no need to mess with files to get multiple mappings of the same region) -- Nicholas Miell <nmiell@comcast.net> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2007-06-08 16:39 [from the cache] ©2003-2008 | |||||||||||||