Method and device for loading kernel module
A kernel module and kernel technology, applied in the field of kernel module loading, can solve the problem that LKM cannot be compatible with different kernels
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] According to an embodiment of the present invention, a kernel module loading module is provided, such as figure 1 As shown, the method includes:
[0023] S102: Obtain a first LKM, wherein the first LKM satisfies a first loading condition to be loaded into the first kernel;
[0024] S104: Obtain a second LKM, wherein the second LKM satisfies a second loading condition to be loaded into the second kernel but does not meet the first loading condition;
[0025] S106: Update the second LKM according to the first LKM, wherein the updated second LKM satisfies the first loading condition;
[0026] S108: Load the updated second LKM into the first kernel.
[0027] It should be clear that one of the problems to be solved by the technical solution of the present invention is to provide a method so that the LKM written based on an operating system and a version of the kernel of the operating system can be successfully loaded into other operating systems or the same In the kernel ...
Embodiment 2
[0062] According to an embodiment of the present invention, a kernel module loading device for implementing the above kernel module loading method is also provided, such as Figure 8 As shown, the device includes:
[0063] 1) The first obtaining unit 802 is configured to obtain a first loadable kernel module LKM, wherein the first LKM satisfies a first loading condition to be loaded into the first kernel;
[0064] 2) The second obtaining unit 804 is configured to obtain a second LKM, wherein the second LKM satisfies the second loading condition to be loaded into the second kernel but does not meet the first loading condition;
[0065] 3) The first updating unit 806 is configured to update the second LKM according to the first LKM, wherein the updated second LKM satisfies the first loading condition;
[0066] 4) A loading unit 808, configured to load the updated second LKM to the first kernel.
[0067] It should be clear that one of the problems to be solved by the technical ...
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