]> 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)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Aug 2024 12:06:12 +0000 (05:06 -0700)
commitff0320bec2810192d453c579623482fab87bfa01
tree2a3cf4f5f858c12dff8bf1f4d7654d078665817b
parentcb2dee4eccf46642eef588bee64f9c875c408f1c
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>
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]