<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/testing/selftests/livepatch/test_modules/test_klp_mod_patch.c, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://www.git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://www.git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/'/>
<updated>2026-03-30T13:37:31Z</updated>
<entry>
<title>selftests/livepatch: add test for module function patching</title>
<updated>2026-03-30T13:37:31Z</updated>
<author>
<name>Pablo Alessandro Santos Hugen</name>
<email>phugen@redhat.com</email>
</author>
<published>2026-03-20T20:11:17Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/linux/commit/?id=57000fe6a60421b35ce51a338cc33caf057f5795'/>
<id>urn:sha1:57000fe6a60421b35ce51a338cc33caf057f5795</id>
<content type='text'>
Add a target module and livepatch pair that verify module function
patching via a proc entry. Two test cases cover both the
klp_enable_patch path (target loaded before livepatch) and the
klp_module_coming path (livepatch loaded before target).

Signed-off-by: Pablo Alessandro Santos Hugen &lt;phugen@redhat.com&gt;
Acked-by: Miroslav Benes &lt;mbenes@suse.cz&gt;
Acked-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;
Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;
Tested-by: Petr Mladek &lt;pmladek@suse.com&gt;
Link: https://patch.msgid.link/20260320201135.1203992-1-phugen@redhat.com
Signed-off-by: Petr Mladek &lt;pmladek@suse.com&gt;
</content>
</entry>
</feed>
