<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in struct_ops_maybe_null_fail.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d6212d82 - selftests/bpf: Consolidate kernel modules into common directory</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/bpf/progs/struct_ops_maybe_null_fail.c#d6212d82</link>
        <description>selftests/bpf: Consolidate kernel modules into common directoryThe selftests build four kernel modules which use copy-pasted Makefiletargets. This is a bit messy, and doesn&apos;t scale so well when we add moremodules, so let&apos;s consolidate these rules into a single rule generatedfor each module name, and move the module sources into a singledirectory.To avoid parallel builds of the different modules stepping on eachother&apos;s toes during the &apos;modpost&apos; phase of the Kbuild &apos;make modules&apos;,the module files should really be a grouped target. However, make onlyadded explicit support for grouped targets in version 4.3, which isnewer than the minimum version supported by the kernel. However, makeimplicitly treats pattern matching rules with multiple targets as agrouped target, so we can work around this by turning the rule into apattern matching target. We do this by replacing &apos;.ko&apos; with &apos;%ko&apos; in thetargets with subst().Signed-off-by: Toke H&#248;iland-J&#248;rgensen &lt;toke@redhat.com&gt;Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Acked-by: Viktor Malik &lt;vmalik@redhat.com&gt;Link: https://lore.kernel.org/bpf/20241204-bpf-selftests-mod-compile-v5-1-b96231134a49@redhat.com

            List of files:
            /linux-6.15/tools/testing/selftests/bpf/progs/struct_ops_maybe_null_fail.c</description>
        <pubDate>Wed, 04 Dec 2024 13:28:26 +0000</pubDate>
        <dc:creator>Toke H&#248;iland-J&#248;rgensen &lt;toke@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>00f239ec - selftests/bpf: Test PTR_MAYBE_NULL arguments of struct_ops operators.</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/bpf/progs/struct_ops_maybe_null_fail.c#00f239ec</link>
        <description>selftests/bpf: Test PTR_MAYBE_NULL arguments of struct_ops operators.Test if the verifier verifies nullable pointer arguments correctly for BPFstruct_ops programs.&quot;test_maybe_null&quot; in struct bpf_testmod_ops is the operator defined for thetest cases here.A BPF program should check a pointer for NULL beforehand to access thevalue pointed by the nullable pointer arguments, or the verifier shouldreject the programs. The test here includes two parts; the programschecking pointers properly and the programs not checking pointersbeforehand. The test checks if the verifier accepts the programs checkingproperly and rejects the programs not checking at all.Signed-off-by: Kui-Feng Lee &lt;thinker.li@gmail.com&gt;Link: https://lore.kernel.org/r/20240209023750.1153905-5-thinker.li@gmail.comSigned-off-by: Martin KaFai Lau &lt;martin.lau@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/bpf/progs/struct_ops_maybe_null_fail.c</description>
        <pubDate>Fri, 09 Feb 2024 02:37:50 +0000</pubDate>
        <dc:creator>Kui-Feng Lee &lt;thinker.li@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
