Re: [PATCH net-next v3 3/5] net: af_unix: useful handling of LSM denials on SCM_RIGHTS
From: Christian Brauner <brauner@kernel.org>
Date: 2026-07-01 07:44:10
Also in:
linux-fsdevel, lkml
From: Christian Brauner <brauner@kernel.org>
Date: 2026-07-01 07:44:10
Also in:
linux-fsdevel, lkml
I also choose to not put -EPERM as sentinel as suggested first, but use the actual LSM error. Agreed?
Yes. We have to surface the actual error. In case the LSM is returning some custom error (can easily happen from a bpf lsm).