Re: [RFC] Turn lockdown into an LSM
From: Matthew Garrett <hidden>
Date: 2019-05-22 16:49:06
Also in:
lkml
From: Matthew Garrett <hidden>
Date: 2019-05-22 16:49:06
Also in:
lkml
On Tue, May 21, 2019 at 7:40 PM James Morris [off-list ref] wrote:
An LSM could also potentially implement its own policy for the hook.
That was my plan. Right now the hook just gets an ASCII description of the reason for the lockdown - that seems suboptimal for cases like SELinux. What information would you want? My initial thinking was to just have a stable enum of lockdown reasons that's in the UAPI headers and then let other LSM tooling consume that, but I haven't spent enough time with the internals of SELinux to know if there'd be a more attractive solution.