Bug#414955: mremap doesn't match kernel or man page
Package: libc6.1-dev
Version: 2.3.6.ds1-13
Since 2.3.31, the Linux kernel has allowed an additional 'flags' value for
mremap(): MREMAP_FIXED (defined with the value 2), which serves a similar
purpose to the mmap() MAP_FIXED flag. If this flag is supplied, then mremap()
employs a fifth argument, 'new_address', which specifies a fixed address to
which the mapping should be relocated.
Currently, glibc does not expose the MREMAP_FIXED definition and the
mremap() prototype does not expose the fifth argument. Can these
definitions please be exposed in glibc? I believe it's fixed in
upstream version 2.4.?
Peter C
Reply to: