diff options
author | Petr Mladek <pmladek@suse.com> | 2023-04-24 17:49:08 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2023-04-24 17:49:08 +0300 |
commit | c9c8133080c75ce2440001d765dbe8c24f932ea2 (patch) | |
tree | 06191dcb03e8c2759ae373cca0b8eae51f21fbc0 /include/linux/module.h | |
parent | 1b47b80e2fa777b37a9486512f4636d7e6aaa353 (diff) | |
parent | 6486a57f05d3d40aa8698908de16feebe52e9f13 (diff) | |
download | linux-c9c8133080c75ce2440001d765dbe8c24f932ea2.tar.xz |
Merge branch 'for-6.4/doc' into for-linus
Diffstat (limited to 'include/linux/module.h')
-rw-r--r-- | include/linux/module.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 514bc81568c5..e65a71b04490 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -352,6 +352,14 @@ struct mod_kallsyms { }; #ifdef CONFIG_LIVEPATCH +/** + * struct klp_modinfo - ELF information preserved from the livepatch module + * + * @hdr: ELF header + * @sechdrs: Section header table + * @secstrings: String table for the section headers + * @symndx: The symbol table section index + */ struct klp_modinfo { Elf_Ehdr hdr; Elf_Shdr *sechdrs; @@ -515,7 +523,7 @@ struct module { bool klp; /* Is this a livepatch module? */ bool klp_alive; - /* Elf information */ + /* ELF information */ struct klp_modinfo *klp_info; #endif |