[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzYGF1aur6W9PDzN3MFoDmVNDQ6G5k0=gv-04m6ZpeK3Jg@mail.gmail.com>
Date: Mon, 12 Aug 2024 13:06:17 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: viro@...nel.org, linux-fsdevel@...r.kernel.org, amir73il@...il.com,
bpf@...r.kernel.org, brauner@...nel.org, cgroups@...r.kernel.org,
kvm@...r.kernel.org, netdev@...r.kernel.org, torvalds@...ux-foundation.org
Subject: Re: [PATCH 35/39] convert bpf_token_create()
On Fri, Aug 9, 2024 at 8:46 PM Al Viro <viro@...iv.linux.org.uk> wrote:
>
> On Tue, Aug 06, 2024 at 03:42:56PM -0700, Andrii Nakryiko wrote:
>
> > By constify you mean something like below?
>
> Yep. Should go through LSM folks, probably, and once it's in
> those path_get() and path_put() around the call can go to hell,
> along with 'path' itself (we can use file->f_path instead).
Ok, cool. Let's then do that branch you proposed, and I can send
everything on top of it, removing path_get()+path_put() you add here.
Powered by blists - more mailing lists