Skip to content

RFC ima: evm: Add kernel cmdline options to disable IMA/EVM

Song Liu linux-fsdevel linux-integrity linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ima: Add kernel parameter to disable IMAsecurity/integrity/ima/ima_main.c+13 -00 replies
2/2evm: Add kernel parameter to disable EVMsecurity/integrity/evm/evm.h security/integrity/evm/evm_main.c security/integrity/evm/evm_secfs.c+22 -90 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchDmitry Kasatkin
1/2Originally-by
2/2Originally-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC 0/2] ima: evm: Add kernel cmdline options to disable IMA/EVM

While reading and testing LSM code, I found IMA/EVM consume per inode storage even when they are not in use. Add options to diable them in kernel command line. The logic and syntax is mostly borrowed from an old serious [1].

[1] https://lore.kernel.org/lkml/[email protected]/

Song Liu (2):
ima: Add kernel parameter to disable IMA
evm: Add kernel parameter to disable EVM

 security/integrity/evm/evm.h       |  6 ++++++
 security/integrity/evm/evm_main.c  | 22 ++++++++++++++--------
 security/integrity/evm/evm_secfs.c |  3 ++-
 security/integrity/ima/ima_main.c  | 13 +++++++++++++
 4 files changed, 35 insertions(+), 9 deletions(-)

--
2.43.5