Petr Pisar <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #5 from Petr Pisar <> ---
Linux mremap(2) supports it in a different way. From a manual:

       If  the value of old_size is zero, and old_address refers to a shareable
       (see mmap(2) MAP_SHARED), then mremap() will create a new mapping  of 
the  same
       pages.  new_size will be the size of the new mapping and the location of
the new
       mapping may be specified with new_address; see the description  of 
       below.   If  a new mapping is requested via this method, then the
       flag must also be specified.

But I worry MAP_REMAPDUP won't help you because you should get a failure on
changing the permissions from writeable to executable if the security policy is
correctly enforced.

You are receiving this mail because:
You are on the CC list for the bug.
## List details at 

Reply via email to