<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/bpf/progs/nested_trust_common.h, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-06-12T18:01:31Z</updated>
<entry>
<title>bpf: selftests: Fix bpf_cpumask_first_zero() kfunc prototype</title>
<updated>2024-06-12T18:01:31Z</updated>
<author>
<name>Daniel Xu</name>
</author>
<published>2024-06-12T15:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89f0b1abac497c47d0851b780abecc756c1e8734'/>
<id>urn:sha1:89f0b1abac497c47d0851b780abecc756c1e8734</id>
<content type='text'>
The prototype in progs/nested_trust_common.h is not in line with how the
actual kfuncs are defined in kernel/bpf/cpumask.c. This causes compilation
errors when kfunc prototypes are generated from BTF.

Fix by aligning with actual kfunc definitions.

Signed-off-by: Daniel Xu &lt;dxu@dxuuu.xyz&gt;
Link: https://lore.kernel.org/r/437936a4e554b02e04566dd6e3f0a5d08370cc8c.1718207789.git.dxu@dxuuu.xyz
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/bpf: Add nested trust selftests suite</title>
<updated>2023-01-25T15:57:50Z</updated>
<author>
<name>David Vernet</name>
</author>
<published>2023-01-25T14:38:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6541f4d280465e3dff08a45734c0d4ac3f363a4'/>
<id>urn:sha1:a6541f4d280465e3dff08a45734c0d4ac3f363a4</id>
<content type='text'>
Now that defining trusted fields in a struct is supported, we should add
selftests to verify the behavior. This patch adds a few such testcases.

Signed-off-by: David Vernet &lt;void@manifault.com&gt;
Link: https://lore.kernel.org/r/20230125143816.721952-4-void@manifault.com
Signed-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;
</content>
</entry>
</feed>
