Re: [PATCH v4 1/1] exec: seal system mappings

2024-12-11 Thread Jeff Xu
Hi Andrei Thanks for your email. I was hoping to get some feedback from CRIU devs, and happy to see you reaching out.. On Mon, Dec 9, 2024 at 8:12 PM Andrei Vagin wrote: > > On Mon, Nov 25, 2024 at 12:49 PM wrote: > > > > From: Jeff Xu > > > > Seal vdso, vvar, sigpage, uprobes and vsyscall. >

Re: [RFC PATCH 13/16] arm64: mm: Reset pkey in __tlb_remove_table()

2024-12-11 Thread Kevin Brodsky
On 10/12/2024 13:27, Peter Zijlstra wrote: > On Tue, Dec 10, 2024 at 10:28:44AM +0100, Kevin Brodsky wrote: >> On 09/12/2024 11:29, Peter Zijlstra wrote: >>> On Fri, Dec 06, 2024 at 10:11:07AM +, Kevin Brodsky wrote: [...] diff --git a/arch/arm64/include/asm/tlb.h b/arch/arm64/in

Re: [RFC PATCH 12/16] arm64: mm: Map p4d/pgd with privileged pkey

2024-12-11 Thread Kevin Brodsky
On 10/12/2024 13:23, Peter Zijlstra wrote: > On Tue, Dec 10, 2024 at 10:27:56AM +0100, Kevin Brodsky wrote: >> On 09/12/2024 11:24, Peter Zijlstra wrote: >>> On Fri, Dec 06, 2024 at 10:11:06AM +, Kevin Brodsky wrote: If CONFIG_KPKEYS_HARDENED_PGTABLES is enabled, map p4d/pgd pages usi

Re: [PATCH] bpf: replace deprecated strncpy with strscpy

2024-12-11 Thread Mike Lothian
Hi I'm not sure if it was this patch or an older one but I'm seeing the following warning when compiling/linking with Clang 19.1.5 vmlinux.o: warning: objtool: ___bpf_prog_run+0x44: sibling call from callable instruction Cheers Mike

Re: [RFC PATCH 2/3] module: Don't fail module loading when setting ro_after_init section RO failed

2024-12-11 Thread Daniel Gomez
Hi Kees, Could you help clarify the handling of __ro_after_init? What do you think is the best approach when a second attempt fails at setting a section to RO after a module is already initialized? (please find the deatils in this pach series or in [1]. Reporting the failure to the caller se

Re: [PATCH v1] mseal: move can_do_mseal to mseal.c

2024-12-11 Thread Lorenzo Stoakes
On Tue, Dec 10, 2024 at 06:38:49PM -0800, Jeff Xu wrote: > Hi Lorenzo, > > Regarding your proposal of moving mseal.c to vma.c for unit testing. > > On Fri, Dec 6, 2024 at 9:04 AM Lorenzo Stoakes > wrote: > > > > > > > > An aside - I actually think we need to move the bulk of this code to > > > > m