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

2025-02-14 Thread Jeff Xu
On Thu, Feb 13, 2025 at 6:52 PM Kees Cook wrote: > > > > On February 13, 2025 2:20:01 PM PST, Jeff Xu wrote: > >On Thu, Feb 13, 2025 at 11:28 AM Kees Cook wrote: > >> > >> > >> > >> On February 13, 2025 6:14:00 AM PST, Jeff Xu wrote: > >> >On Wed, Feb 12, 2025 at 5:04 AM Thomas Weißschuh > >> >

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

2025-02-13 Thread Kees Cook
On February 13, 2025 2:20:01 PM PST, Jeff Xu wrote: >On Thu, Feb 13, 2025 at 11:28 AM Kees Cook wrote: >> >> >> >> On February 13, 2025 6:14:00 AM PST, Jeff Xu wrote: >> >On Wed, Feb 12, 2025 at 5:04 AM Thomas Weißschuh >> > wrote: >> >> >> >> On Wed, Feb 12, 2025 at 03:21:50AM +, jef...@

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

2025-02-13 Thread Jeff Xu
On Thu, Feb 13, 2025 at 11:28 AM Kees Cook wrote: > > > > On February 13, 2025 6:14:00 AM PST, Jeff Xu wrote: > >On Wed, Feb 12, 2025 at 5:04 AM Thomas Weißschuh > > wrote: > >> > >> On Wed, Feb 12, 2025 at 03:21:50AM +, jef...@chromium.org wrote: > >> > From: Jeff Xu > >> > > >> > Add code

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

2025-02-13 Thread Kees Cook
On February 13, 2025 6:14:00 AM PST, Jeff Xu wrote: >On Wed, Feb 12, 2025 at 5:04 AM Thomas Weißschuh > wrote: >> >> On Wed, Feb 12, 2025 at 03:21:50AM +, jef...@chromium.org wrote: >> > From: Jeff Xu >> > >> > Add code to detect if the vdso is memory sealed, skip the test >> > if it is. >

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

2025-02-13 Thread Jeff Xu
On Wed, Feb 12, 2025 at 5:04 AM Thomas Weißschuh wrote: > > On Wed, Feb 12, 2025 at 03:21:50AM +, jef...@chromium.org wrote: > > From: Jeff Xu > > > > Add code to detect if the vdso is memory sealed, skip the test > > if it is. > > > > Signed-off-by: Jeff Xu > > --- > > .../testing/selftest

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

2025-02-12 Thread Thomas Weißschuh
On Wed, Feb 12, 2025 at 03:21:50AM +, jef...@chromium.org wrote: > From: Jeff Xu > > Add code to detect if the vdso is memory sealed, skip the test > if it is. > > Signed-off-by: Jeff Xu > --- > .../testing/selftests/x86/test_mremap_vdso.c | 38 +++ > 1 file changed, 38 in

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

2025-02-11 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 --- .../testing/selftests/x86/test_mremap_vdso.c | 38 +++ 1 file changed, 38 insertions(+) diff --git a/tools/testing/selftests/x86/test_mremap_vdso.c b/tools/testi