Re: [PATCH v13 bpf-next 1/6] bpf: Add kfunc bpf_get_file_xattr
From: Song Liu <song@kernel.org>
Date: 2023-11-28 14:19:49
Also in:
bpf, linux-fsdevel
From: Song Liu <song@kernel.org>
Date: 2023-11-28 14:19:49
Also in:
bpf, linux-fsdevel
Hi Christian, On Tue, Nov 28, 2023 at 1:13 AM Christian Brauner [off-list ref] wrote:
On Mon, Nov 27, 2023 at 10:05:23AM -0800, Song Liu wrote:
[...]
quoted
Overall, we can technically add xattr_permission() check here. But I don't think that's the right check for the LSM use case. Does this make sense? Did I miss or misunderstand something?If the helper is only callable from an LSM context then this should be fine.
If everything looks good, would you please give an official Acked-by or Reviewed-by? Thanks, Song