Re: [PATCH RFC] perf_event: Add support for LSM and SELinux checks

From: James Morris
Date: Thu Oct 10 2019 - 15:42:06 EST


On Thu, 10 Oct 2019, Casey Schaufler wrote:

> > Because it is not necessary.
>
> The logic escapes me, but OK.

We should only extend the stacking infrastructure to what is concretely
required. We don't yet have a use-case for stacking perf_event so we
should keep the code as simple as possible. As soon as multiple LSMs
determine they need to share the blob, we can convert the code to blob
sharing.


--
James Morris
<jmorris@xxxxxxxxx>