https://bugs.exim.org/show_bug.cgi?id=2469

Petr Pisar <ppi...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppi...@redhat.com

--- Comment #5 from Petr Pisar <ppi...@redhat.com> ---
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
mapping
       (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 
MREMAP_FIXED
       below.   If  a new mapping is requested via this method, then the
MREMAP_MAYMOVE
       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 https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to