Re: [RFC PATCH v2 8/8] selftest mm/mseal mprotect/munmap/mremap/mmap

2023-10-20 Thread Muhammad Usama Anjum
On 10/20/23 8:23 PM, Peter Zijlstra wrote: > On Fri, Oct 20, 2023 at 07:24:03PM +0500, Muhammad Usama Anjum wrote: > >> Please remove these. These macros would be picked up from the kernel >> headers automatically. > > As per the previous discussions, how does that work if you have O= build >

Re: [RFC PATCH v2 8/8] selftest mm/mseal mprotect/munmap/mremap/mmap

2023-10-20 Thread Peter Zijlstra
On Fri, Oct 20, 2023 at 07:24:03PM +0500, Muhammad Usama Anjum wrote: > Please remove these. These macros would be picked up from the kernel > headers automatically. As per the previous discussions, how does that work if you have O= build directories? I find this push to force people to do

Re: [RFC PATCH v2 8/8] selftest mm/mseal mprotect/munmap/mremap/mmap

2023-10-20 Thread Muhammad Usama Anjum
On 10/17/23 2:08 PM, jef...@chromium.org wrote: > From: Jeff Xu > > selftest for sealing mprotect/munmap/mremap/mmap > > Signed-off-by: Jeff Xu > --- > tools/testing/selftests/mm/Makefile |1 + > tools/testing/selftests/mm/mseal_test.c | 1428 +++ Please add the new

[RFC PATCH v2 8/8] selftest mm/mseal mprotect/munmap/mremap/mmap

2023-10-17 Thread jeffxu
From: Jeff Xu selftest for sealing mprotect/munmap/mremap/mmap Signed-off-by: Jeff Xu --- tools/testing/selftests/mm/Makefile |1 + tools/testing/selftests/mm/mseal_test.c | 1428 +++ 2 files changed, 1429 insertions(+) create mode 100644