Re: [PATCH 35/39] convert bpf_token_create()
From: Andrii Nakryiko <hidden>
Date: 2024-08-12 20:06:30
Also in:
bpf, cgroups, kvm, linux-fsdevel
From: Andrii Nakryiko <hidden>
Date: 2024-08-12 20:06:30
Also in:
bpf, cgroups, kvm, linux-fsdevel
On Fri, Aug 9, 2024 at 8:46 PM Al Viro [off-list ref] wrote:
On Tue, Aug 06, 2024 at 03:42:56PM -0700, Andrii Nakryiko wrote:quoted
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.