<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>57000fe6a60421b35ce51a338cc33caf057f5795 - selftests/livepatch: add test for module function patching</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/livepatch/test_modules/Makefile#57000fe6a60421b35ce51a338cc33caf057f5795</link>
        <description>selftests/livepatch: add test for module function patchingAdd a target module and livepatch pair that verify module functionpatching via a proc entry. Two test cases cover both theklp_enable_patch path (target loaded before livepatch) and theklp_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.comSigned-off-by: Petr Mladek &lt;pmladek@suse.com&gt;

            List of files:
            /linux/tools/testing/selftests/livepatch/test_modules/Makefile</description>
        <pubDate>Fri, 20 Mar 2026 21:11:17 +0100</pubDate>
        <dc:creator>Pablo Alessandro Santos Hugen &lt;phugen@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>62597edf6340191511bdf9a7f64fa315ddc58805 - selftests: livepatch: test livepatching a kprobed function</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/livepatch/test_modules/Makefile#62597edf6340191511bdf9a7f64fa315ddc58805</link>
        <description>selftests: livepatch: test livepatching a kprobed functionThe test proves that a function that is being kprobed and uses apost_handler cannot be livepatched.Only one ftrace_ops with FTRACE_OPS_FL_IPMODIFY set may be registeredto any given function at a time.Note that the conflicting kprobe could not be created using thetracefs interface, see Documentation/trace/kprobetrace.rst.This interface uses only the pre_handler(), see alloc_trace_kprobe().But FTRACE_OPS_FL_IPMODIFY is used only when the kprobe is using apost_handler, see arm_kprobe_ftrace().Signed-off-by: Michael Vetter &lt;mvetter@suse.com&gt;Reviewed-by: Miroslav Benes &lt;mbenes@suse.cz&gt;Reviewed-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Tested-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Reviewed-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Tested-by: Petr Mladek &lt;pmladek@suse.com&gt;Link: https://lore.kernel.org/r/20241017200132.21946-4-mvetter@suse.comSigned-off-by: Petr Mladek &lt;pmladek@suse.com&gt;

            List of files:
            /linux/tools/testing/selftests/livepatch/test_modules/Makefile</description>
        <pubDate>Thu, 17 Oct 2024 22:01:32 +0200</pubDate>
        <dc:creator>Michael Vetter &lt;mvetter@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>54ee3526796f56c249124686a33e1cc05f76ea21 - selftests: livepatch: Avoid running the tests if kernel-devel is missing</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/livepatch/test_modules/Makefile#54ee3526796f56c249124686a33e1cc05f76ea21</link>
        <description>selftests: livepatch: Avoid running the tests if kernel-devel is missingBy checking if KDIR is a valid directory we can safely skip the tests ifkernel-devel isn&apos;t installed (default value of KDIR), or if KDIRvariable passed doesn&apos;t exists.Reported-by: kernel test robot &lt;lkp@intel.com&gt;Closes: https://lore.kernel.org/oe-kbuild-all/202402191417.XULH88Ct-lkp@intel.com/Signed-off-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux/tools/testing/selftests/livepatch/test_modules/Makefile</description>
        <pubDate>Wed, 21 Feb 2024 18:17:04 +0100</pubDate>
        <dc:creator>Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>6a71770442b5b7cf8f880ca1c0a72456c918c757 - selftests: livepatch: Test livepatching a heavily called syscall</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/livepatch/test_modules/Makefile#6a71770442b5b7cf8f880ca1c0a72456c918c757</link>
        <description>selftests: livepatch: Test livepatching a heavily called syscallThe test proves that a syscall can be livepatched. It is interestingbecause syscalls are called a tricky way. Also the process getslivepatched either when sleeping in the userspace or when enteringor leaving the kernel space.The livepatch is a bit tricky:  1. The syscall function name is architecture specific. Also     ARCH_HAS_SYSCALL_WRAPPER must be taken in account.  2. The syscall must stay working the same way for other processes     on the system. It is solved by decrementing a counter only     for PIDs of the test processes. It means that the test processes     has to call the livepatched syscall at least once.The test creates one userspace process per online cpu. The processesare calling getpid in a busy loop. The intention is to create randomlocations when the livepatch gets enabled. Nothing is guarantted.The magic is in the randomness.Reviewed-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Signed-off-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux/tools/testing/selftests/livepatch/test_modules/Makefile</description>
        <pubDate>Fri, 12 Jan 2024 18:43:52 +0100</pubDate>
        <dc:creator>Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>c4bbe83d27c2446a033cc0381c3fb6be5e8c41c7 - livepatch: Move tests from lib/livepatch to selftests/livepatch</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/livepatch/test_modules/Makefile#c4bbe83d27c2446a033cc0381c3fb6be5e8c41c7</link>
        <description>livepatch: Move tests from lib/livepatch to selftests/livepatchThe modules are being moved from lib/livepatch totools/testing/selftests/livepatch/test_modules.This code moving will allow writing more complex tests, like for example anuserspace C code that will call a livepatched kernel function.The modules are now built as out-of-treemodules, but being part of the kernel source means they will be maintained.Another advantage of the code moving is to be able to easily change,debug and rebuild the tests by running make on the selftests/livepatchdirectory, which is not currently possible since the modules onlib/livepatch are build and installed using the &quot;modules&quot; target.The current approach also keeps the ability to execute the tests manuallyby executing the scripts inside selftests/livepatch directory, as it&apos;scurrently supported. If the modules are modified, they needed to berebuilt before running the scripts though.The modules are built before running the selftests when using thekselftest invocations:	make kselftest TARGETS=livepatchor	make -C tools/testing/selftests/livepatch run_testsHaving the modules being built as out-of-modules requires changing thecurrently used &apos;modprobe&apos; by &apos;insmod&apos; and adapt the test scripts thatcheck for the kernel message buffer.Now it is possible to only compile the modules by running:	make -C tools/testing/selftests/livepatch/This way the test modules and other test program can be built in orderto be packaged if so desired.As there aren&apos;t any modules being built on lib/livepatch, remove theTEST_LIVEPATCH Kconfig and it&apos;s references.Note: &quot;make gen_tar&quot; packages the pre-built binaries into the tarball.       It means that it will store the test modules pre-built for       the kernel running on the build host.       Note that these modules need not binary compatible with       the kernel built from the same sources. But the same       is true for other packaged selftest binaries.       The entire kernel sources are needed for rebuilding       the selftests on another system.Reviewed-by: Joe Lawrence &lt;joe.lawrence@redhat.com&gt;Reviewed-by: Petr Mladek &lt;pmladek@suse.com&gt;Signed-off-by: Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;Acked-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux/tools/testing/selftests/livepatch/test_modules/Makefile</description>
        <pubDate>Fri, 12 Jan 2024 18:43:51 +0100</pubDate>
        <dc:creator>Marcos Paulo de Souza &lt;mpdesouza@suse.com&gt;</dc:creator>
    </item>
</channel>
</rss>
