mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-07-12 10:10:46 +02:00
ima-evm-utils: Check for tsspcrread in runtime
instead of checking in build time as it's runtime dependency. Also log when tsspcrread not found to make debugging easier. We search for tsspcrread unless there is tss2-esys with Esys_PCR_Read(), thus pcr_none.c was dropped as unneeded. file_exist(), tst_get_path() and MIN() taken from LTP project. Signed-off-by: Petr Vorel <pvorel@suse.cz> [zohar@linux.ibm.com: added USE_FPRINTF definitions] Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
int get_cmd_path(const char *prog_name, char *buf, size_t buf_len);
|
||||
int hex_to_bin(char ch);
|
||||
int hex2bin(void *dst, const char *src, size_t count);
|
||||
|
Reference in New Issue
Block a user