Home
last modified time | relevance | path

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

/Linux-v6.6/security/integrity/ima/
Dima_kexec.c92 size_t kexec_segment_size; in ima_add_kexec_buffer() local
101 kexec_segment_size = ULONG_MAX; in ima_add_kexec_buffer()
103 kexec_segment_size = ALIGN(ima_get_binary_runtime_size() + in ima_add_kexec_buffer()
105 if ((kexec_segment_size == ULONG_MAX) || in ima_add_kexec_buffer()
106 ((kexec_segment_size >> PAGE_SHIFT) > totalram_pages() / 2)) { in ima_add_kexec_buffer()
112 kexec_segment_size); in ima_add_kexec_buffer()
120 kbuf.memsz = kexec_segment_size; in ima_add_kexec_buffer()
129 image->ima_buffer_size = kexec_segment_size; in ima_add_kexec_buffer()