Re: [PATCH v2 bpf-next 4/9] bpf: Add kfunc bpf_get_file_xattr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 1, 2023 at 6:27 PM KP Singh <kpsingh@xxxxxxxxxx> wrote:
>
> On Mon, Oct 23, 2023 at 8:14 AM Song Liu <song@xxxxxxxxxx> wrote:
> >
> > This kfunc can be used to read xattr of a file. To avoid recursion, only
> > allow calling this kfunc from LSM hooks.
>
> I think this needs a bit more explanation in the commit message (some
> details on what it could be used for, we can explain the use case
> about persistent LSM policy and LSM signatures with FSVerity). I know
> you add a selftest but some more details in the commit message would
> help.

Sure, I will add a short description here.

> What about adding the KF_TRUSTED_ARGS for the kfunc?

Yeah, I was thinking about this. Adding it to the next version.

Thanks,
Song

[...]





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux