]> git.ipfire.org Git - thirdparty/valgrind.git/commit
memfd test should be memfd_create test
authorDi Chen <dichen@redhat.com>
Tue, 29 Mar 2022 23:59:25 +0000 (07:59 +0800)
committerMark Wielaard <mark@klomp.org>
Wed, 6 Apr 2022 22:36:41 +0000 (00:36 +0200)
commit6a35b364c5db0f0c3edb7936de8b75c3995b0882
treed935baf5bbc3d6f255b3c676555961ac0690163d
parent8eb547054a051a00742b1b9e1b381015fafeacb9
memfd test should be memfd_create test

Currently, syscall memfd_create was tested by this:

$ perl tests/vg_regtest memcheck/tests/linux/memfd.vgtest

Since memfd_secret introduced in kernel 5.14, valgrind should rename
the "memfd" test to "memfd_create" test to avoid the ambiguity, so that
user will not get confused with the "memfd_secret" test.

After this change, syscall memfd_create will be tested by:

$ perl tests/vg_regtest memcheck/tests/linux/memfd_create.vgtest
.gitignore
memcheck/tests/linux/Makefile.am
memcheck/tests/linux/memfd.vgtest [deleted file]
memcheck/tests/linux/memfd_create.c [moved from memcheck/tests/linux/memfd.c with 100% similarity]
memcheck/tests/linux/memfd_create.stderr.exp [moved from memcheck/tests/linux/memfd.stderr.exp with 57% similarity]
memcheck/tests/linux/memfd_create.vgtest [new file with mode: 0644]