Invention Grant
- Patent Title: Runtime patching of an operating system (OS) without stopping execution
-
Application No.: US14867819Application Date: 2015-09-28
-
Publication No.: US09652221B2Publication Date: 2017-05-16
- Inventor: Vojtech Pavlik , Jiri Kosina
- Applicant: Micro Focus Software Inc.
- Applicant Address: US DE Wilmington
- Assignee: Micro Focus Software Inc.
- Current Assignee: Micro Focus Software Inc.
- Current Assignee Address: US DE Wilmington
- Agency: Schwegman Lundberg & Woessner, P.A.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/445 ; G06F9/30 ; G06F9/455 ; G06F9/50 ; G06F9/54 ; G06F12/0831 ; G06F12/128

Abstract:
Techniques for runtime patching of an OS without stopping execution of the OS are presented. When a patch function is needed, it is loaded into the OS code. Threads of the OS that are in kernel mode have a flag set and a jump is inserted at a location of an old function. When the old function is accessed, the jump uses a trampoline to check the flag, if the flag is set, processing returns to the old function; otherwise processing jumps to a given location of the patch. Flags are unset when exiting or entering the kernel mode.
Public/Granted literature
- US20160019055A1 RUNTIME PATCHING OF AN OPERATING SYSTEM (OS) WITHOUT STOPPING EXECUTION Public/Granted day:2016-01-21
Information query