Home
last modified time | relevance | path

Searched refs:binary_runtime_size (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/security/integrity/ima/
Dima_queue.c29 static unsigned long binary_runtime_size; variable
31 static unsigned long binary_runtime_size = ULONG_MAX; variable
115 if (binary_runtime_size != ULONG_MAX) { in ima_add_digest_entry()
119 binary_runtime_size = (binary_runtime_size < ULONG_MAX - size) ? in ima_add_digest_entry()
120 binary_runtime_size + size : ULONG_MAX; in ima_add_digest_entry()
132 if (binary_runtime_size >= (ULONG_MAX - sizeof(struct ima_kexec_hdr))) in ima_get_binary_runtime_size()
135 return binary_runtime_size + sizeof(struct ima_kexec_hdr); in ima_get_binary_runtime_size()
Dima_kexec.c86 unsigned long binary_runtime_size; in ima_add_kexec_buffer() local
98 binary_runtime_size = ima_get_binary_runtime_size(); in ima_add_kexec_buffer()
99 if (binary_runtime_size >= ULONG_MAX - PAGE_SIZE) in ima_add_kexec_buffer()