Re: [PATCH v7 2/7] selftests: x86: test_mremap_vdso: skip if vdso is msealed

2025-02-25 Thread Lorenzo Stoakes
On Tue, Feb 25, 2025 at 02:37:46PM -0800, Jeff Xu wrote: > On Mon, Feb 24, 2025 at 10:15 PM Lorenzo Stoakes > wrote: > > > > On Mon, Feb 24, 2025 at 10:52:41PM +, jef...@chromium.org wrote: > > > From: Jeff Xu > > > > > > Add code to detect if the vdso is memory sealed, skip the test > > > if

Re: [PATCH v7 2/7] selftests: x86: test_mremap_vdso: skip if vdso is msealed

2025-02-25 Thread Jeff Xu
On Mon, Feb 24, 2025 at 10:15 PM Lorenzo Stoakes wrote: > > On Mon, Feb 24, 2025 at 10:52:41PM +, jef...@chromium.org wrote: > > From: Jeff Xu > > > > Add code to detect if the vdso is memory sealed, skip the test > > if it is. > > I feel this is a little succinct of a commit message, but I g

Re: [PATCH v7 2/7] selftests: x86: test_mremap_vdso: skip if vdso is msealed

2025-02-24 Thread Lorenzo Stoakes
On Mon, Feb 24, 2025 at 10:52:41PM +, jef...@chromium.org wrote: > From: Jeff Xu > > Add code to detect if the vdso is memory sealed, skip the test > if it is. I feel this is a little succinct of a commit message, but I guess it gets to the heart of what you're doing here. Fundamentally I me

[PATCH v7 2/7] selftests: x86: test_mremap_vdso: skip if vdso is msealed

2025-02-24 Thread jeffxu
From: Jeff Xu Add code to detect if the vdso is memory sealed, skip the test if it is. Signed-off-by: Jeff Xu Reviewed-by: Kees Cook --- .../testing/selftests/x86/test_mremap_vdso.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/tools/testing/selftests/x86/test_mrem