US 11,907,101 B2
Systems and methods for selective patching based on kernel and user space interaction
Igor Seletskiy, Estero, FL (US); and Pavel Boldin, Kharkov (UA)
Assigned to Cloud Linux Software, Inc., Estero, FL (US)
Filed by Cloud Linux Software, Inc., Estero, FL (US)
Filed on Feb. 22, 2022, as Appl. No. 17/677,644.
Prior Publication US 2023/0267068 A1, Aug. 24, 2023
Int. Cl. G06F 11/36 (2006.01); G06F 8/658 (2018.01); G06F 12/1009 (2016.01)
CPC G06F 11/3636 (2013.01) [G06F 8/658 (2018.02); G06F 11/3624 (2013.01); G06F 12/1009 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method for selective patching processes, the method comprising:
identifying, via a user space patching service, a patch that modifies at least one function comprised in a process, wherein the process is executed on a computing device;
generating a list of target pages in virtual memory of the computing device, wherein the list of target pages comprises code associated with the at least one function;
marking the target pages as non-executable based on file identification; and
in response to intercepting, using an amended page-fault event handler, an attempt to execute the code associated with the at least one function by the process; applying the patch to modify the at least one function.