diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-07-24 14:05:13 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-08-01 05:06:12 -0700 |
commit | 6c40cb0e9f893d49dc7caee580a055de53562206 (patch) | |
tree | 1d61073cb1bd9934d8e4fe4c07dfd7b998345f18 /stdlib | |
parent | 54252394c25ddf0062e288d4a6ab7a885f8ae009 (diff) | |
download | glibc-6c40cb0e9f893d49dc7caee580a055de53562206.zip glibc-6c40cb0e9f893d49dc7caee580a055de53562206.tar.gz glibc-6c40cb0e9f893d49dc7caee580a055de53562206.tar.bz2 |
linux: Update the mremap C implementation [BZ #31968]
Update the mremap C implementation to support the optional argument for
MREMAP_DONTUNMAP added in Linux 5.7 since it may not always be correct
to implement a variadic function as a non-variadic function on all Linux
targets. Return MAP_FAILED and set errno to EINVAL for unknown flag bits.
This fixes BZ #31968.
Note: A test must be added when a new flag bit is introduced.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'stdlib')
0 files changed, 0 insertions, 0 deletions