Re: [PATCH bpf-next 1/2] fs/xattr: bpf: Introduce security.bpf xattr name prefix

From: Christian Brauner
Date: Mon Oct 14 2024 - 06:18:49 EST


On Wed, Oct 02, 2024 at 02:46:36PM -0700, Song Liu wrote:
> Introduct new xattr name prefix security.bpf, and enable reading these
> xattrs from bpf kfuncs bpf_get_[file|dentry]_xattr(). Note that
> "security.bpf" could be the name of the xattr or the prefix of the
> name. For example, both "security.bpf" and "security.bpf.xxx" are
> valid xattr name; while "security.bpfxxx" is not valid.
>
> Signed-off-by: Song Liu <song@xxxxxxxxxx>
> ---

Acked-by: Christian Brauner <brauner@xxxxxxxxxx>