sys/mman.h: add MREMAP_DONTUNMAP from linux v5.7
authorSzabolcs Nagy <nsz@port70.net>
Mon, 13 Jul 2020 19:43:44 +0000 (19:43 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 9 Sep 2020 21:20:54 +0000 (17:20 -0400)
commita6c302bec1d47903bfd455c0d8129cd618037672
treef2b3d8484bf45919c5d42bc3c1926ff9651393c9
parent8adf42f7c13c2c569b35521db2615844ddd5a4a9
sys/mman.h: add MREMAP_DONTUNMAP from linux v5.7

it remaps anon mappings without unmapping the original. chromeos plans
to use it with userfaultfd, see:

  linux commit e346b3813067d4b17383f975f197a9aa28a3b077
  mm/mremap: add MREMAP_DONTUNMAP to mremap()
include/sys/mman.h