kexec_load_permitted
bool kexec_load_permitted(int kexec_image_type);
if (!kexec_load_permitted(image_type))