Skip to content

integrity: few EVM patches

Dmitry Kasatkin lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest6 patches 9 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6integrity: define '.evm' as a builtin 'trusted' keyringsecurity/integrity/Kconfig security/integrity/digsig.c security/integrity/evm/evm_main.c +4 more+35 -224 replies
2/6evm: load x509 certificate from the kernelsecurity/integrity/evm/Kconfig security/integrity/evm/evm_main.c security/integrity/iint.c +1 more+33 -00 replies
3/6evm: enable EVM when X509 certificate is loadedsecurity/integrity/evm/evm.h security/integrity/evm/evm_crypto.c security/integrity/evm/evm_main.c +1 more+12 -32 replies
4/6evm: provide a function to set EVM key from the kernelinclude/linux/evm.h security/integrity/evm/evm_crypto.c security/integrity/evm/evm_secfs.c+50 -142 replies
5/6evm: define EVM key max and min sizesinclude/linux/evm.h security/integrity/evm/evm_crypto.c+6 -40 replies
6/6evm: reset EVM status when file attributes changessecurity/integrity/evm/evm_main.c+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCHv3 0/6] integrity: few EVM patches

Hi,

IMA module provides functionality to load x509 certificates into the trusted '.ima' keyring. This is patchset adds the same functionality to the EVM as well. Also it provides functionality to set EVM key from the kernel crypto HW driver. This is an update for the patchset which was previously sent for review few months ago. Please refer to the patch descriptions for details.

BR,

Dmitry

Dmitry Kasatkin (6):
integrity: define '.evm' as a builtin 'trusted' keyring
evm: load x509 certificate from the kernel
evm: enable EVM when X509 certificate is loaded
evm: provide a function to set EVM key from the kernel
evm: define EVM key max and min sizes
evm: reset EVM status when file attributes changes

 include/linux/evm.h                 | 10 +++++++
 security/integrity/Kconfig          | 11 ++++++++
 security/integrity/digsig.c         | 14 ++++++++--
 security/integrity/evm/Kconfig      | 17 ++++++++++++
 security/integrity/evm/evm.h        |  3 +++
 security/integrity/evm/evm_crypto.c | 54 ++++++++++++++++++++++++++++++-------
 security/integrity/evm/evm_main.c   | 32 +++++++++++++++++++---
 security/integrity/evm/evm_secfs.c  | 12 +++------
 security/integrity/iint.c           |  1 +
 security/integrity/ima/Kconfig      |  5 +++-
 security/integrity/ima/ima.h        | 12 ---------
 security/integrity/ima/ima_init.c   |  2 +-
 security/integrity/integrity.h      | 13 ++++++---
 13 files changed, 146 insertions(+), 40 deletions(-)
Signature · 1 line
2.1.4