Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-28 Thread Lorenzo Stoakes
On Thu, Feb 27, 2025 at 03:38:47PM -0800, Jeff Xu wrote: > On Wed, Feb 26, 2025 at 10:25 AM Lorenzo Stoakes > wrote: > > > > On Wed, Feb 26, 2025 at 07:20:50PM +0100, Oleg Nesterov wrote: > > > On 02/26, Lorenzo Stoakes wrote: > > > > > > > > Like I said, Jeff opposes the change. I disagree with h

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-27 Thread Jeff Xu
On Wed, Feb 26, 2025 at 10:25 AM Lorenzo Stoakes wrote: > > On Wed, Feb 26, 2025 at 07:20:50PM +0100, Oleg Nesterov wrote: > > On 02/26, Lorenzo Stoakes wrote: > > > > > > Like I said, Jeff opposes the change. I disagree with him, and agree with > > > you, > > > because this is very silly. > > >

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-27 Thread Jeff Xu
Hi Oleg On Wed, Feb 26, 2025 at 10:21 AM Oleg Nesterov wrote: > > On 02/26, Lorenzo Stoakes wrote: > > > > Like I said, Jeff opposes the change. I disagree with him, and agree with > > you, > > because this is very silly. > > > > But I don't want to hold up this series with that discussion (this

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Lorenzo Stoakes
On Wed, Feb 26, 2025 at 07:20:50PM +0100, Oleg Nesterov wrote: > On 02/26, Lorenzo Stoakes wrote: > > > > Like I said, Jeff opposes the change. I disagree with him, and agree with > > you, > > because this is very silly. > > > > But I don't want to hold up this series with that discussion (this is

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Oleg Nesterov
On 02/26, Lorenzo Stoakes wrote: > > Like I said, Jeff opposes the change. I disagree with him, and agree with you, > because this is very silly. > > But I don't want to hold up this series with that discussion (this is for his > sake...) Neither me, so lets go with VM_SEALED_SYSMAP. My only obje

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Liam R. Howlett
* Lorenzo Stoakes [250226 13:06]: > On Wed, Feb 26, 2025 at 07:01:36PM +0100, Oleg Nesterov wrote: > > On 02/26, Lorenzo Stoakes wrote: > > > > > > On Wed, Feb 26, 2025 at 05:26:04PM +0100, Oleg Nesterov wrote: > > > > On 02/24, jef...@chromium.org wrote: > > > > > > > > > > Unlike other system ma

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Lorenzo Stoakes
On Wed, Feb 26, 2025 at 07:01:36PM +0100, Oleg Nesterov wrote: > On 02/26, Lorenzo Stoakes wrote: > > > > On Wed, Feb 26, 2025 at 05:26:04PM +0100, Oleg Nesterov wrote: > > > On 02/24, jef...@chromium.org wrote: > > > > > > > > Unlike other system mappings, the uprobe mapping is not > > > > establi

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Oleg Nesterov
On 02/26, Lorenzo Stoakes wrote: > > On Wed, Feb 26, 2025 at 05:26:04PM +0100, Oleg Nesterov wrote: > > On 02/24, jef...@chromium.org wrote: > > > > > > Unlike other system mappings, the uprobe mapping is not > > > established during program startup. However, its lifetime is the same > > > as the p

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Lorenzo Stoakes
On Wed, Feb 26, 2025 at 05:26:04PM +0100, Oleg Nesterov wrote: > On 02/24, jef...@chromium.org wrote: > > > > Unlike other system mappings, the uprobe mapping is not > > established during program startup. However, its lifetime is the same > > as the process's lifetime. It could be sealed from crea

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Oleg Nesterov
On 02/26, Oleg Nesterov wrote: > > On 02/24, jef...@chromium.org wrote: > > > > Unlike other system mappings, the uprobe mapping is not > > established during program startup. However, its lifetime is the same > > as the process's lifetime. It could be sealed from creation. > > Agreed, VM_SEALED sh

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-26 Thread Oleg Nesterov
On 02/24, jef...@chromium.org wrote: > > Unlike other system mappings, the uprobe mapping is not > established during program startup. However, its lifetime is the same > as the process's lifetime. It could be sealed from creation. Agreed, VM_SEALED should be always for the "[uprobes]" vma, regard

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-25 Thread Lorenzo Stoakes
On Tue, Feb 25, 2025 at 04:06:37PM -0800, Jeff Xu wrote: > On Mon, Feb 24, 2025 at 10:24 PM Lorenzo Stoakes > wrote: > > > > On Mon, Feb 24, 2025 at 10:52:45PM +, jef...@chromium.org wrote: > > > From: Jeff Xu > > > > > > Provide support to mseal the uprobe mapping. > > > > > > Unlike other s

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-25 Thread Jeff Xu
On Mon, Feb 24, 2025 at 10:24 PM Lorenzo Stoakes wrote: > > On Mon, Feb 24, 2025 at 10:52:45PM +, jef...@chromium.org wrote: > > From: Jeff Xu > > > > Provide support to mseal the uprobe mapping. > > > > Unlike other system mappings, the uprobe mapping is not > > established during program st

Re: [PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-24 Thread Lorenzo Stoakes
On Mon, Feb 24, 2025 at 10:52:45PM +, jef...@chromium.org wrote: > From: Jeff Xu > > Provide support to mseal the uprobe mapping. > > Unlike other system mappings, the uprobe mapping is not > established during program startup. However, its lifetime is the same > as the process's lifetime. It

[PATCH v7 6/7] mseal, system mappings: uprobe mapping

2025-02-24 Thread jeffxu
From: Jeff Xu Provide support to mseal the uprobe mapping. Unlike other system mappings, the uprobe mapping is not established during program startup. However, its lifetime is the same as the process's lifetime. It could be sealed from creation. Signed-off-by: Jeff Xu --- kernel/events/uprobe