Changes between Initial Version and Version 1 of Ticket #22633, comment 15


Ignore:
Timestamp:
04/03/17 12:48:50 (21 months ago)
Author:
embray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22633, comment 15

    initial v1  
    1 A minimal example in C seems to indicate that this would not work.  Perhaps it's a limitation of Cygwin and/or Windows, but calling `mmap(..., PROT_NONE, MAP_NORESERVE)` at the address of a preview `mmap(NULL, ..., PROT_READ|PROT_WRITE, ...)` without `MAP_NORESERVE` exhibits the same bug on fork.
     1A minimal example in C seems to indicate that this would not work.  Perhaps it's a limitation of Cygwin and/or Windows, but calling `mmap(..., PROT_NONE, MAP_NORESERVE)` at the address of a previous `mmap(NULL, ..., PROT_READ|PROT_WRITE, ...)` without `MAP_NORESERVE` exhibits the same bug on fork.