Skip to content

Commit 4926c7a

Browse files
peaktocreekakpm00
authored andcommitted
selftest mm/mseal memory sealing
selftest for memory sealing change in mmap() and mseal(). Link: https://lkml.kernel.org/r/20240415163527.626541-4-jeffxu@chromium.org Signed-off-by: Jeff Xu <jeffxu@chromium.org> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Dave Hansen <dave.hansen@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Guenter Roeck <groeck@chromium.org> Cc: Jann Horn <jannh@google.com> Cc: Jeff Xu <jeffxu@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Jorge Lucangeli Obes <jorgelo@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Muhammad Usama Anjum <usama.anjum@collabora.com> Cc: Pedro Falcato <pedro.falcato@gmail.com> Cc: Stephen Röttger <sroettger@google.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Amer Al Shanawany <amer.shanawany@gmail.com> Cc: Javier Carrasco <javier.carrasco.cruz@gmail.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 8be7258 commit 4926c7a

File tree

3 files changed

+1838
-0
lines changed

3 files changed

+1838
-0
lines changed

tools/testing/selftests/mm/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ mkdirty
4747
va_high_addr_switch
4848
hugetlb_fault_after_madv
4949
hugetlb_madv_vs_map
50+
mseal_test

tools/testing/selftests/mm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ TEST_GEN_FILES += mlock2-tests
5959
TEST_GEN_FILES += mrelease_test
6060
TEST_GEN_FILES += mremap_dontunmap
6161
TEST_GEN_FILES += mremap_test
62+
TEST_GEN_FILES += mseal_test
6263
TEST_GEN_FILES += on-fault-limit
6364
TEST_GEN_FILES += pagemap_ioctl
6465
TEST_GEN_FILES += thuge-gen

0 commit comments

Comments
 (0)