Re: [PATCH v1 2/2] selftest/mseal: Add tests for madvise fixes

2024-10-17 Thread Lorenzo Stoakes
On Thu, Oct 17, 2024 at 12:51:05AM +, jef...@chromium.org wrote: > From: Jeff Xu > > Testcase for "Two fixes for madvise(MADV_DONTNEED) when sealed" > > test_seal_madvise_prot_none > shall not block when mapping is PROT_NONE > > test_madvise_filebacked_writable > shall not block writeable

[PATCH v1 2/2] selftest/mseal: Add tests for madvise fixes

2024-10-16 Thread jeffxu
From: Jeff Xu Testcase for "Two fixes for madvise(MADV_DONTNEED) when sealed" test_seal_madvise_prot_none shall not block when mapping is PROT_NONE test_madvise_filebacked_writable shall not block writeable private filebacked mapping. test_madvise_filebacked_was_writable - shall block. s