[Bug libc/3188] New: mremap() should depend on _GNU_SOURCE
In <sys/mman.h>, mremap() is exposed if __USE_MISC is set, that is if
_BSD_SOURCE or _SVID_SOURCE is defined.
Since mremap() is Linux specific, this mremap() should instead depend on
_GNU_SOURCE. Note also that in <bits/mman.h>, MREMAP_MAYMOVE and MREMAP_FIXED
are only exposed if _GNU_SOURCE is set, so that _GNU_SOURCE is in any case required.
Summary: mremap() should depend on _GNU_SOURCE
AssignedTo: drepper at redhat dot com
ReportedBy: michael dot kerrisk at gmx dot net
CC: glibc-bugs at sources dot redhat dot com