update_note...r_size_elf64(9)
β¨ update_note_header_size_elf64(9) β¨
okay so bestie, this one's straight outta the Kernel API Manual, and the function name is a whole mouthful but she ate π π
πΈ NAME πΈ
update_note_header_size_elf64 β update p_memsz member of each PT_NOTE entry π«Ά
π SYNOPSIS π
int update_note_header_size_elf64 (const Elf64_Ehdr *ehdr_ptr );
π¦ ARGUMENTS π¦
ehdr_ptrβ the ELF header, periodt β¨
π DESCRIPTION π
So basically, this function updates the p_memsz member of each PT_NOTE entry in the program header table that ehdr_ptr points to, setting it to the real size of the ELF note segment. that's the vibe π
no cap.
lowkey important: it'sp_memszgetting updated, and it's for eachPT_NOTEentry in that program header table β not just one random little entry π―
π SEE ALSO π
- Kernel file
./fs/proc/vmcore.cβ yes bestie, the whole file is listed here π vmcore_alloc_buf(9)get_note_number_and_size_elf64(9)copy_notes_elf64(9)update_note_header_size_elf32(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)
mwah π this lil page lives under ./fs/proc and is dated October 2026 β catch u next time, bestie π«Άβ¨
π¦ 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