Re: [PATCH v6 2/4] mseal: add mseal syscall

2024-01-13 Thread Jeff Xu
On Sat, Jan 13, 2024 at 11:48 AM Kees Cook wrote: > > On Thu, Jan 11, 2024 at 11:41:39PM +, jef...@chromium.org wrote: > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > index f5a97dec5169..345667583b03 100644 > > --- a/include/linux/mm.h > > +++ b/include/linux/mm.h > > @@ -30,6 +30

Re: [PATCH bpf-next v3 0/3] Annotate kfuncs in .BTF_ids section

2024-01-13 Thread Jiri Olsa
On Sat, Jan 13, 2024 at 09:17:44AM -0700, Daniel Xu wrote: > Hi Jiri, > > On Sat, Jan 13, 2024 at 02:57:40PM +0100, Jiri Olsa wrote: > > On Fri, Jan 12, 2024 at 01:03:59PM -0700, Daniel Xu wrote: > > > On Fri, Jan 12, 2024 at 05:20:39PM +0100, Jiri Olsa wrote: > > > > On Sat, Jan 06, 2024 at 11:24

Re: [PATCH v6 2/4] mseal: add mseal syscall

2024-01-13 Thread Kees Cook
On Thu, Jan 11, 2024 at 11:41:39PM +, jef...@chromium.org wrote: > diff --git a/include/linux/mm.h b/include/linux/mm.h > index f5a97dec5169..345667583b03 100644 > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -30,6 +30,7 @@ > #include > #include > #include > +#include I thin

Re: [PATCH v10 0/4] RISC-V: mm: Make SV48 the default address space

2024-01-13 Thread Yangyu Chen
Hi, Charlie Although this patchset has been merged I still have some questions about this patchset. Because it breaks regular mmap if address >= 38 bits on sv48 / sv57 capable systems like qemu. For example, If a userspace program wants to mmap an anonymous page to addr=(1<<45) on an sv48 capable

Re: [PATCH bpf-next v3 0/3] Annotate kfuncs in .BTF_ids section

2024-01-13 Thread Daniel Xu
Hi Jiri, On Sat, Jan 13, 2024 at 02:57:40PM +0100, Jiri Olsa wrote: > On Fri, Jan 12, 2024 at 01:03:59PM -0700, Daniel Xu wrote: > > On Fri, Jan 12, 2024 at 05:20:39PM +0100, Jiri Olsa wrote: > > > On Sat, Jan 06, 2024 at 11:24:07AM -0700, Daniel Xu wrote: > > > > === Description === > > > > > >

Re: [PATCH bpf-next v3 0/3] Annotate kfuncs in .BTF_ids section

2024-01-13 Thread Jiri Olsa
On Fri, Jan 12, 2024 at 01:03:59PM -0700, Daniel Xu wrote: > On Fri, Jan 12, 2024 at 05:20:39PM +0100, Jiri Olsa wrote: > > On Sat, Jan 06, 2024 at 11:24:07AM -0700, Daniel Xu wrote: > > > === Description === > > > > > > This is a bpf-treewide change that annotates all kfuncs as such inside > > >

Re: [PATCH v11 5/5] ring-buffer/selftest: Add ring-buffer mapping test

2024-01-13 Thread Google
On Thu, 11 Jan 2024 16:17:12 + Vincent Donnefort wrote: > This test maps a ring-buffer and validate the meta-page after reset and > after emitting few events. > > Cc: Shuah Khan > Cc: Shuah Khan > Cc: linux-kselftest@vger.kernel.org > Signed-off-by: Vincent Donnefort Looks good to me and