summaryrefslogtreecommitdiff
path: root/tools/objtool/tests/generic/fixtures/changed_data.c
AgeCommit message (Collapse)Author
2026-09-21objtool/klp: Add test for rejecting changed dataPuranjay Mohan
Livepatching replaces functions. Nothing can swap a variable which live code already refers to, so a patch which changes one has to be refused rather than applied with the old value left in place. Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Signed-off-by: Song Liu <song@kernel.org> Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Assisted-by: Claude:claude-opus-5 Link: https://patch.msgid.link/20260916184351.2720310-13-song@kernel.org