[PATCH v5 4/5] ima: Use tpm_default_chip() and call TPM functions with a tpm_chip

Jarkko Sakkinen jarkko.sakkinen at linux.intel.com
Tue Jun 26 13:25:44 UTC 2018


On Tue, 2018-06-26 at 07:06 -0400, Stefan Berger wrote:
> Rather than accessing the TPM functions by passing a NULL pointer for
> the tpm_chip, which causes a lookup for a suitable chip every time, get a
> hold of a tpm_chip and access the TPM functions using it.
> 
> Signed-off-by: Stefan Berger <stefanb at linux.vnet.ibm.com>

Acked-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>

(i.e. LGTM but competence to give a detailed review).

/Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list