aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorMatthew Garrett <[email protected]>2019-08-19 17:17:37 -0700
committerJames Morris <[email protected]>2019-08-19 21:54:15 -0700
commite6b1db98cf4d54d9ea59cfcc195f70dc946fdd38 (patch)
tree29e5abb33f499f99ec7a258a3846de344f199653 /drivers/mtd/lpddr/lpddr_cmds.c
parent0ecfebd2b52404ae0c54a878c872bb93363ada36 (diff)
security: Support early LSMs
The lockdown module is intended to allow for kernels to be locked down early in boot - sufficiently early that we don't have the ability to kmalloc() yet. Add support for early initialisation of some LSMs, and then add them to the list of names when we do full initialisation later. Early LSMs are initialised in link order and cannot be overridden via boot parameters, and cannot make use of kmalloc() (since the allocator isn't initialised yet). (Fixed by Stephen Rothwell to include a stub to fix builds when !CONFIG_SECURITY) Signed-off-by: Matthew Garrett <[email protected]> Acked-by: Kees Cook <[email protected]> Acked-by: Casey Schaufler <[email protected]> Cc: Stephen Rothwell <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions