Method and system for compiling kernel module
A kernel module and kernel technology, applied in the field of version compatibility assurance, can solve compatibility problems, cannot be compiled and loaded, affect the adaptability and usability of kernel modules, etc., and achieve the effect of expanding the scope and improving the adaptation efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The present invention will be described in detail below with reference to the accompanying drawings and examples.
[0023] In the Linux 4.4 kernel, the VERMAGIC_STRING variable is defined in linux / vermagic.h. The variable VERMAGIC_STRING contains not only the kernel version number, but also the gcc version, SMP and PREEMPT configuration information used by the kernel. During the compilation process of the kernel module, the "MODPOST" stage will add the content of VERMAGIC_STRING to the modinfo section of the kernel module. In the scripts\mod\modpost.c file under the kernel source code directory, you can see the code of the subsequent processing part of the kernel module. In addition, after the kernel module is compiled and generated, you can use the `modinfomymodule.ko` command to check the vermagic and other information of the kernel module. The version information of the kernel is stored in the kernel module loader in the Linux4.4 kernel. When loading the kernel modu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com