elf_validity...he_index_sym(9)
π NAME π
Okay bestie, welcome to the Kernel API Manual page elf_validity...he_index_sym(9). The function is elf_validity_cache_index_sym, and its whole job is literally βValidate and cache symtab index.β π
β¨ SYNOPSIS β¨
int elf_validity_cache_index_sym (struct load_info *info );
π ARGUMENTS π
infoβ Load info to cache symtab index in. It must haveload_info->sechdrsandload_info->secstringspopulated, bestie. No cap.
π¦ DESCRIPTION π¦
So this one checks that there is exactly one symbol table. Then it caches that tableβs index in load_info->index.sym. Thatβs the whole vibe. Obsessed with the specificity. β¨
πΈ RETURN πΈ
0if valid π«Ά-ENOEXECon failure π
π₯ SEE ALSO π₯
Kernel file ./kernel/module/main.c says hi, and these are all the related besties:
find_any_unique_sec(9)is_module_percpu_address(9)module_refcount(9)verify_module_namespace(9)elf_validity_ehdr(9)elf_validity_cache_sechdrs(9)elf_validity_cache_secstrings(9)elf_validity_cache_index_info(9)elf_validity_cache_index_mod(9)elf_validity_cache_index_str(9)elf_validity_cache_index_versions(9)elf_validity_cache_index(9)elf_validity_cache_strtab(9)is_module_address(9)__module_address(9)is_module_text_address(9)__module_text_address(9)
Mwah π β source/version: ./kernel/module, date: October 2026. Stay iconic, 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