| From: Andrew Morton <akpm@linux-foundation.org> |
| Subject: selftests-mm-add-more-mseal-traversal-tests-fix |
| Date: Tue Aug 20 06:51:01 PM PDT 2024 |
| |
| remove incorrect comment, per review |
| |
| Cc: Liam R. Howlett <Liam.Howlett@Oracle.com> |
| Cc: Pedro Falcato <pedro.falcato@gmail.com> |
| Cc: Jeff Xu <jeffxu@chromium.org> |
| Cc: Kees Cook <kees@kernel.org> |
| Cc: Linus Torvalds <torvalds@linux-foundation.org> |
| Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> |
| Cc: Michael Ellerman <mpe@ellerman.id.au> |
| Cc: Shuah Khan <shuah@kernel.org> |
| Cc: Vlastimil Babka <vbabka@suse.cz> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| tools/testing/selftests/mm/mseal_test.c | 5 ----- |
| 1 file changed, 5 deletions(-) |
| |
| --- a/tools/testing/selftests/mm/mseal_test.c~selftests-mm-add-more-mseal-traversal-tests-fix |
| +++ a/tools/testing/selftests/mm/mseal_test.c |
| @@ -774,11 +774,6 @@ static void test_seal_mprotect_partial_m |
| int ret; |
| int prot; |
| |
| - /* |
| - * Check if a partial mseal (that results in two vmas) works correctly. |
| - * It might mprotect the first, but it'll never touch the second (msealed) vma. |
| - */ |
| - |
| setup_single_address(size, &ptr); |
| FAIL_TEST_IF_FALSE(ptr != (void *)-1); |
| |
| _ |