]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add mremap tests
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Jul 2024 21:05:15 +0000 (14:05 -0700)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 1 Aug 2024 15:00:54 +0000 (17:00 +0200)
commit590e58b652a1aec736f6728d07f7ef4a81db3314
tree5085527fb9e1ddedc9b30069f2631dbb435d00b1
parentaaed1cc9fcbd57fa75ccfa59f87e552686596852
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]