Invention Grant
- Patent Title: Method, device and system for realizing kernel online patching
- Patent Title (中): 实现内核在线修补的方法,设备和系统
-
Application No.: US12703409Application Date: 2010-02-10
-
Publication No.: US08499289B2Publication Date: 2013-07-30
- Inventor: Huafei Dai , Wei Zheng
- Applicant: Huafei Dai , Wei Zheng
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Brinks Hofer Gilson & Lione
- Priority: CN200910077423 20090210
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A method, a device, and a system for realizing kernel online patching are provided. The method includes loading a pre-generated patch file in an operating system, setting a first breakpoint at an execution start position of the primitive function when a system thread executes the primitive function and a breakpoint exception occurs during the thread execution process due to the first breakpoint, modifying a returning execution address of the first breakpoint into the destination address of the patch function corresponding to the primitive function according to the first corresponding relation, and removing the first breakpoint. The kernel online patching implementation has a small impact on the normal operation of the operating system. The patch function becomes valid without restarting the operating system, thereby satisfying the high reliability requirements of carrier-class products.
Public/Granted literature
- US20100205587A1 METHOD, DEVICE AND SYSTEM FOR REALIZING KERNEL ONLINE PATCHING Public/Granted day:2010-08-12
Information query