HI Andrew
On Wed, Aug 28, 2024 at 3:55 PM jeffxu@chromium.org wrote:
From: Jeff Xu jeffxu@chromium.org
Add more testcases and increase test coverage, e.g. add get_vma_size to check VMA size and prot bits.
Could you please pull the self-test part of this patch series to mm-unstable ? It will help to prevent regression.
The first part ([PATCH v1 1/2] mseal: fix mmap(FIXED) error code) can be ignored as Liam proposed to fix it differently.
Thanks -Jeff
-Jeff
Signed-off-by: Jeff Xu jeffxu@chromium.org
tools/testing/selftests/mm/mseal_test.c | 826 ++++++++++++++++++++++-- 1 file changed, 759 insertions(+), 67 deletions(-)
diff --git a/tools/testing/selftests/mm/mseal_test.c b/tools/testing/selftests/mm/mseal_test.c index e7991e5fdcf3..4b3f883aae17 100644 --- a/tools/testing/selftests/mm/mseal_test.c +++ b/tools/testing/selftests/mm/mseal_test.c