[PATCH v13 bpf-next 1/6] bpf: Add kfunc bpf_get_file_xattr
Song Liu
song at kernel.org
Tue Nov 28 14:19:35 UTC 2023
Hi Christian,
On Tue, Nov 28, 2023 at 1:13 AM Christian Brauner <brauner at kernel.org> wrote:
>
> On Mon, Nov 27, 2023 at 10:05:23AM -0800, Song Liu wrote:
[...]
> >
> > 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
More information about the Linux-security-module-archive
mailing list