Messages in this thread | | | Subject | Re: JIT emulator needs | From | Nicholas Miell <> | Date | Fri, 08 Jun 2007 09:35:59 -0700 |
| |
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/
| |