mirror of
https://github.com/dynup/kpatch
synced 2025-03-04 17:58:10 +00:00
Abstract out the common functionality for dealing with special sections into a new kpatch_process_special_sections() function. The base sections are partitioned into "groups". Only those groups whose relas reference a changed function are kept. The only difference in the logic for handling each special section is determining the size of a given group. Each section has its own group_size() callback for this. It's a callback instead of an integer because one of the soon-to-be-supported special sections requires that its group sizes be dynamically determined. |
||
---|---|---|
.. | ||
create-diff-object.c | ||
kpatch-build | ||
list.h | ||
lookup.c | ||
lookup.h | ||
Makefile |