<?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 commoncap_test.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>c17ee635fd3a482b2ad2bf5e269755c2eae5f25e - Merge drm/drm-fixes into drm-misc-fixes</title>
        <link>http://opengrok.net:8080/history/linux/security/commoncap_test.c#c17ee635fd3a482b2ad2bf5e269755c2eae5f25e</link>
        <description>Merge drm/drm-fixes into drm-misc-fixes7.0-rc1 was just released, let&apos;s merge it to kick the new release cycle.Signed-off-by: Maxime Ripard &lt;mripard@kernel.org&gt;

            List of files:
            /linux/security/commoncap_test.c</description>
        <pubDate>Mon, 23 Feb 2026 09:09:45 +0000</pubDate>
        <dc:creator>Maxime Ripard &lt;mripard@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>6179d7a630c2747e2a9329149de2a7aa67a95978 - Merge tag &apos;caps-pr-20260213&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/sergeh/linux</title>
        <link>http://opengrok.net:8080/history/linux/security/commoncap_test.c#6179d7a630c2747e2a9329149de2a7aa67a95978</link>
        <description>Merge tag &apos;caps-pr-20260213&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/sergeh/linuxPull capabilities updates from Serge Hallyn: - add KUnit tests for some core capabilities helpers - avoid emitting IPC audit messages when there&apos;s not   actually a permission being denied* tag &apos;caps-pr-20260213&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/sergeh/linux:  ipc: don&apos;t audit capability check in ipc_permissions()  security: Add KUnit tests for kuid_root_in_ns and vfsuid_root_in_currentns

            List of files:
            /linux/security/commoncap_test.c</description>
        <pubDate>Sat, 14 Feb 2026 19:30:05 +0000</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>24e9b431b5837bc9d2cf2c2fde4abf507e2fae19 - security: Add KUnit tests for kuid_root_in_ns and vfsuid_root_in_currentns</title>
        <link>http://opengrok.net:8080/history/linux/security/commoncap_test.c#24e9b431b5837bc9d2cf2c2fde4abf507e2fae19</link>
        <description>security: Add KUnit tests for kuid_root_in_ns and vfsuid_root_in_currentnsAdd comprehensive KUnit tests for the namespace-related capabilityfunctions that Serge Hallyn refactored in commit 9891d2f79a9f(&quot;Clarify the rootid_owns_currentns&quot;).The tests verify:- Basic functionality: UID 0 in init namespace, invalid vfsuid,  non-zero UIDs- Actual namespace traversal: Creating user namespaces with different  UID mappings where uid 0 maps to different kuids (e.g., 1000, 2000,  3000)- Hierarchy traversal: Testing multiple nested namespaces to verify  correct namespace hierarchy traversalThis addresses the feedback to &quot;test the actual functionality&quot; bycreating real user namespaces with different values for thenamespace&apos;s uid 0, rather than just basic input validation.The test file is included at the end of commoncap.c whenCONFIG_SECURITY_COMMONCAP_KUNIT_TEST is enabled, following thestandard kernel pattern (e.g., scsi_lib.c, ext4/mballoc.c). Thisallows tests to access static functions in the same compilation unitwithout modifying production code based on test configuration.The tests require CONFIG_USER_NS to be enabled since they rely on usernamespace mapping functionality. The Kconfig dependency ensures thetests only build when this requirement is met.All 7 tests pass:- test_vfsuid_root_in_currentns_init_ns- test_vfsuid_root_in_currentns_invalid- test_vfsuid_root_in_currentns_nonzero- test_kuid_root_in_ns_init_ns_uid0- test_kuid_root_in_ns_init_ns_nonzero- test_kuid_root_in_ns_with_mapping- test_kuid_root_in_ns_with_different_mappingsUpdated MAINTAINER capabilities to include commoncap testSigned-off-by: Ryan Foster &lt;foster.ryan.r@gmail.com&gt;Signed-off-by: Serge Hallyn &lt;sergeh@kernel.org&gt;

            List of files:
            /linux/security/commoncap_test.c</description>
        <pubDate>Wed, 07 Jan 2026 21:51:28 +0000</pubDate>
        <dc:creator>Ryan Foster &lt;foster.ryan.r@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
