Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
LOADING METHOD AND APPARATUS BASED ON LINUX KERNEL KO MODULE
Document Type and Number:
WIPO Patent Application WO/2023/273424
Kind Code:
A1
Abstract:
Provided in the embodiments of the present disclosure are a loading method and apparatus based on a Linux kernel ko module. The method comprises: during a page fault processing process of a Linux kernel, detecting whether the current address is within a range of dynamically loaded addresses; if the current address is within the range of dynamically loaded addresses, dynamically loading the current address by means of the page fault processing process of the Linux kernel; and when the current system is switched to another system, dynamically releasing, by means of a dynamic release interface, a code segment which is dynamically loaded into a physical memory under the current system. The problem in the related art of a ko module excessively occupying a memory if a ko version is relatively large, since the loading of a Linux kernel ko module is realized by means of loading a ko file into a memory space as a whole, can be solved; and by means of dynamic loading and dynamic release, the memory occupied by the ko module is reduced.

Inventors:
PENG LEI (CN)
Application Number:
PCT/CN2022/081865
Publication Date:
January 05, 2023
Filing Date:
March 19, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SANECHIPS TECH CO LTD (CN)
International Classes:
G06F9/4401
Foreign References:
CN101324850A2008-12-17
CN102938035A2013-02-20
US20170123999A12017-05-04
Other References:
ZHANG JISHENG: "Techniques Based on Virtual Machine in Anti-Rootkit", CHINESE MASTER'S THESES FULL-TEXT DATABASE, 9 May 2009 (2009-05-09), pages 1 - 72, XP093020466, ISSN: 1674-0246
LUCIEN: "Analysis of Dynamic Loading Technology of Linux Kernel Module LKM", 8 September 2012 (2012-09-08), pages 1 - 24, XP093020468, Retrieved from the Internet [retrieved on 20230203]
TU ALAN: "Linux memory management - page fault exception handling", 8 March 2018 (2018-03-08), pages 1 - 28, XP093020469, Retrieved from the Internet [retrieved on 20220511]
ANONYMOUS: "Everything is a mapping: Talking about page fault exceptions in the operating system kernel (Page Fault)", 8 March 2018 (2018-03-08), pages 1 - 6, XP093020471, Retrieved from the Internet [retrieved on 20220511]
Attorney, Agent or Firm:
KANGXIN PARTNERS, P. C. (CN)
Download PDF: