Home
last modified time | relevance | path

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

/security/integrity/ima/
A Dima_queue.c30 static unsigned long binary_runtime_size; variable
32 static unsigned long binary_runtime_size = ULONG_MAX; variable
122 if (binary_runtime_size != ULONG_MAX) { in ima_add_digest_entry()
126 binary_runtime_size = (binary_runtime_size < ULONG_MAX - size) ? in ima_add_digest_entry()
127 binary_runtime_size + size : ULONG_MAX; in ima_add_digest_entry()
139 if (binary_runtime_size >= (ULONG_MAX - sizeof(struct ima_kexec_hdr))) in ima_get_binary_runtime_size()
142 return binary_runtime_size + sizeof(struct ima_kexec_hdr); in ima_get_binary_runtime_size()
A Dima_kexec.c141 unsigned long binary_runtime_size; in ima_add_kexec_buffer() local
160 binary_runtime_size = ima_get_binary_runtime_size() + extra_memory; in ima_add_kexec_buffer()
162 if (binary_runtime_size >= ULONG_MAX - PAGE_SIZE) in ima_add_kexec_buffer()
165 kexec_segment_size = ALIGN(binary_runtime_size, PAGE_SIZE); in ima_add_kexec_buffer()

Completed in 5 milliseconds