Re: [PATCH V33 03/30] security: Add a static lockdown policy LSM

From: Matthew Garrett
Date: Fri Jun 21 2019 - 17:04:22 EST


On Fri, Jun 21, 2019 at 12:37 PM Matthew Garrett <mjg59@xxxxxxxxxx> wrote:
> I'll check, I'm bad at finding these new fangled things.

Ah, I see - there's sysfs_match_string(), but that doesn't really work
for this case because we'd still need to do another set of checks to
see whether the level we get is in lockdown_levels, not just
lockdown_reasons.