]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add mremap tests
authorFlorian Weimer <fweimer@redhat.com>
Thu, 1 Aug 2024 14:45:50 +0000 (16:45 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 1 Aug 2024 15:15:36 +0000 (17:15 +0200)
commitb41034cebfc183695d7f4676363e46d1f560764c
tree41ad8f1d196e725c5f2f0b7e3a06cc78b14d34fd
parent26e2759e59904e785a49f2c7075b8eddd755c49d
Add mremap tests

Add tests for MREMAP_MAYMOVE and MREMAP_FIXED.  On Linux, also test
MREMAP_DONTUNMAP.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit ff0320bec2810192d453c579623482fab87bfa01)
misc/Makefile
misc/tst-mremap1.c [new file with mode: 0644]
misc/tst-mremap2.c [new file with mode: 0644]
sysdeps/generic/mremap-failure.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/mremap-failure.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/tst-linux-mremap1.c [new file with mode: 0644]