Invention Grant
- Patent Title: System and method for live patching processes in user space
-
Application No.: US16178068Application Date: 2018-11-01
-
Publication No.: US10795659B1Publication Date: 2020-10-06
- Inventor: Stanislav Kinsburskiy , Alexey Kobets , Eugene Kolomeetz
- Applicant: Virtuozzo International GmbH
- Applicant Address: CH Schaffhausen
- Assignee: Virtuozzo International GmbH
- Current Assignee: Virtuozzo International GmbH
- Current Assignee Address: CH Schaffhausen
- Agency: Arent Fox LLP
- Agent Michael Fainberg
- Main IPC: G06F8/65
- IPC: G06F8/65

Abstract:
A system and method for live patching a process in userspace is disclosed. In one exemplary aspect, a system for live patching comprises a process executing in userspace in an operating system executed by a hardware processor and a patcher configured to: suspend execution of the process, wherein a memory address space of the process contains binary code executed in the process, and wherein the binary code comprises one or more symbols, map a binary patch to the memory address space of the process, wherein the binary patch contains amendments to the binary code, wherein the binary patch references a portion of the one or more symbols, and wherein the binary patch contains metadata indicating offsets of the portion of the one or more symbols, resolve the portion of the one or more symbols using the offsets in the metadata and resume execution of the process.
Information query