Re: [PATCH V40 03/29] security: Add a static lockdown policy LSM

From
Matthew Garrett <hidden>
Date
2019-09-10 10:06:32
Also in
linux-api, lkml
Reply to
Matthew Garrett, 2019-09-04
On Wed, Sep 4, 2019 at 12:51 PM Matthew Garrett [off-list ref] wrote:
On Fri, Aug 30, 2019 at 9:28 AM David Howells [off-list ref] wrote:
quoted
quoted
+static int lock_kernel_down(const char *where, enum lockdown_reason level)
Is the last parameter the reason or the level?  You're mixing the terms.
Fair.
Actually, on re-reading, I think this correct - this is setting the
lockdown level, it's just that the lockdown level is an enum
lockdown_reason for the sake of convenience.
Thread (52 messages) 52 messages, 11 authors, last reply 2022-01-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help