]> git.baikalelectronics.ru Git - kernel.git/commit
evm: load an x509 certificate from the kernel
authorDmitry Kasatkin <dmitry.kasatkin@huawei.com>
Thu, 22 Oct 2015 18:26:21 +0000 (21:26 +0300)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Tue, 15 Dec 2015 13:31:19 +0000 (08:31 -0500)
commitfbf26bb8ee6baf761978f250ef11243fd8ee4663
tree45b99ce12be798b8d4d75eadefd576d2aa430efe
parent168b984c7cfe8cc1dff6669eedcde288a82b333b
evm: load an x509 certificate from the kernel

This patch defines a configuration option and the evm_load_x509() hook
to load an X509 certificate onto the EVM trusted kernel keyring.

Changes in v4:
* Patch description updated

Changes in v3:
* Removed EVM_X509_PATH definition. CONFIG_EVM_X509_PATH is used
  directly.

Changes in v2:
* default key patch changed to /etc/keys

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/evm/Kconfig
security/integrity/evm/evm_main.c
security/integrity/iint.c
security/integrity/integrity.h