update_note...r_size_elf32(9)
πΈ update_note_header_size_elf32(9) πΈ
Okay bestie, welcome to the Kernel API Manual β¨ β this one's about a lil function with a big name: update_note_header_size_elf32. It's giving "kernel internals but make it cute," and honestly? We love her for it. π
π NAME π
update_note_header_size_elf32 β updates the p_memsz member of every PT_NOTE entry. Yes, every single one. Periodt. π
β¨ SYNOPSIS β¨
int update_note_header_size_elf32 (const Elf32_Ehdr *ehdr_ptr );
π ARGUMENTS π
ehdr_ptrβ the ELF header. That's the whole vibe here. π¦
π DESCRIPTION π
So here's the tea β: this function updates the p_memsz member of each PT_NOTE entry in the program header table pointed to by ehdr_ptr, setting it to the real size of the ELF note segment. That's it, that's the function. No cap, she's doing exactly that. β¨
π SEE ALSO π
- Kernel file
./fs/proc/vmcore.c vmcore_alloc_buf(9)update_note_header_size_elf64(9)get_note_number_and_size_elf64(9)copy_notes_elf64(9)get_note_number_and_size_elf32(9)copy_notes_elf32(9)vmcoredd_write_header(9)vmcoredd_update_program_headers(9)vmcoredd_update_size(9)vmcore_add_device_dump(9)
Okay that's the page, bestie π«Ά β source/version is ./fs/proc, dated October 2026, and the footer title is that same update_note...r_size_elf32(9) situation. Go forth and update those headers, iconically. π
β¨
π¦ 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