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 [...]