Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create-diff-object: ensure no data sections are included
When a changed function needs relocations for special data sections like .data..percpu or .data..read_mostly, it's possible for those sections to get included. We try to avoid that situation by converting section references to data symbol references in kpatch_replace_sections_syms(), but the conversion success rate isn't 100%, and we could be forgetting about some other sections, so ensure that it never happens in kpatch_verify_patchability().
- Loading branch information