Method, device and system for realizing kernel online patching
    1.
    发明授权
    Method, device and system for realizing kernel online patching 有权
    实现内核在线修补的方法,设备和系统

    公开(公告)号:US08499289B2

    公开(公告)日:2013-07-30

    申请号:US12703409

    申请日:2010-02-10

    申请人: Huafei Dai Wei Zheng

    发明人: Huafei Dai Wei Zheng

    IPC分类号: G06F9/45

    CPC分类号: G06F8/656

    摘要: 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.

    摘要翻译: 提供了一种实现内核在线修补的方法,设备和系统。 该方法包括在操作系统中加载预生成的补丁文件,当系统线程执行原始函数时,在原始函数的执行开始位置设置第一个断点,并且在线程执行过程期间发生断点异常,这是由于第一个 断点,根据第一对应关系将第一断点的返回执行地址修改为对应于原语函数的补丁函数的目的地地址,以及去除第一断点。 内核在线修补实现对操作系统的正常运行影响很小。 补丁功能无效,无需重新启动操作系统,从而满足电信级产品的高可靠性要求。

    METHOD, DEVICE AND SYSTEM FOR REALIZING KERNEL ONLINE PATCHING
    2.
    发明申请
    METHOD, DEVICE AND SYSTEM FOR REALIZING KERNEL ONLINE PATCHING 有权
    用于实现KERNEL在线贴图的方法,装置和系统

    公开(公告)号:US20100205587A1

    公开(公告)日:2010-08-12

    申请号:US12703409

    申请日:2010-02-10

    申请人: Huafei Dai Wei Zheng

    发明人: Huafei Dai Wei Zheng

    IPC分类号: G06F9/45 G06F9/44

    CPC分类号: G06F8/656

    摘要: 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.

    摘要翻译: 提供了一种实现内核在线修补的方法,设备和系统。 该方法包括在操作系统中加载预生成的补丁文件,当系统线程执行原始函数时,在原始函数的执行开始位置设置第一个断点,并且在线程执行过程期间发生断点异常,这是由于第一个 断点,根据第一对应关系将第一断点的返回执行地址修改为对应于原语函数的补丁函数的目的地地址,以及去除第一断点。 内核在线修补实现对操作系统的正常运行影响很小。 补丁功能无效,无需重新启动操作系统,从而满足电信级产品的高可靠性要求。