setup_ima_buffer(9)
πΈ setup_ima_buffer(9) πΈ
okay so bestie, we're deep in the Kernel API Manual today and this one is genuinely a little cutie: setup_ima_buffer π Her whole job? Add IMA buffer information to the fdt. That's it. That's the vibe. β¨
β¨ NAME β¨
setup_ima_buffer β add IMA buffer information to the fdt π«Ά
π SYNOPSIS π
int setup_ima_buffer (const struct kimage *image , void *fdt , int
chosen_node );
like yes she takes three args and returns an int, we love a consistent queen π
π ARGUMENTS π
imageβ the kexec image that's being loaded rn. main character energy, honestly.fdtβ the Flattened device tree for the next kernel. she's the blueprint for what comes next π¦chosen_nodeβ the offset to the chosen node. yes, an offset, not a pointer, don't come for her π
π RETURN π
0on success π- or a negative
errnoon error π
that's the whole vibe check: zero means slay, negative means something went sideways, no cap.
π¦ SEE ALSO π¦
- Kernel file
./drivers/of/kexec.c fdt_find_and_del_mem_rsv(9)get_addr_size_cells(9)do_get_kexec_buffer(9)ima_get_kexec_buffer(9)ima_free_kexec_buffer(9)remove_ima_buffer(9)
go read those too, they're all part of the same little friend group fr fr π«Ά
ngl bestie, if you're poking at the fdt and the chosen node in the same function you should probably read the whole kexec crew above before you touch anything π
okay that's the page!! π brought to you by ./drivers/of, dated October 2026, and yes setup_ima_buffer(9) showed up to the footer looking iconic as always πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms