<?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 fdtable_kunit.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>a1d4585be12feb09b3e66d312ceb200234164660 - Merge tag &apos;vfs-7.4-rc1.file&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/tests/fdtable_kunit.c#a1d4585be12feb09b3e66d312ceb200234164660</link>
        <description>Merge tag &apos;vfs-7.4-rc1.file&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfsPull file table updates from Christian Brauner: &quot;This annotates struct fdtable&apos;s fd array with __counted_by_ptr so  KASAN and the fortified functions can bounds check it against max_fds  and adds a KUnit suite for fdtable. A follow-up uses __struct_size()  in the test since sparse doesn&apos;t know __builtin_dynamic_object_size().  FD_PREPARE() is simplified. It was built as an ACQUIRE-style guard on  infrastructure that was never needed. The ACQUIRE machinery and  CLASS_INIT() go away, the variable is declared with __cleanup()  directly, struct fd_prepare loses its err field since the fd either  holds the descriptor or the error, and callers get a const pointer to  the guard behind a UNIQUE_ID() name so they can&apos;t shadow it. Code  generation is identical&quot;* tag &apos;vfs-7.4-rc1.file&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:  file: make struct fd_prepare const and kill its err field  cleanup: remove CLASS_INIT()  file: declare the FD_PREPARE() variable with __cleanup() directly  file: simplify FD_PREPARE()  vfs: use __struct_size() in the fdtable KUnit test  vfs: Add KUnit tests for fdtable  vfs: Annotate struct fdtable&apos;s fd field with __counted_by_ptr

            List of files:
            /linux/fs/tests/fdtable_kunit.c</description>
        <pubDate>Tue, 20 Oct 2026 05:35:50 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>07d35cec28c6a33d7714da6eebcf5c69644f530e - vfs: use __struct_size() in the fdtable KUnit test</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/tests/fdtable_kunit.c#07d35cec28c6a33d7714da6eebcf5c69644f530e</link>
        <description>vfs: use __struct_size() in the fdtable KUnit testsparse doesn&apos;t know __builtin_dynamic_object_size() and so the two sizechecks in the fdtable test fall apart on every config where the compilerhas __counted_by_ptr:  fs/tests/fdtable_kunit.c:25:9: sparse: undefined identifier &apos;__builtin_dynamic_object_size&apos;  fs/tests/fdtable_kunit.c:25:9: sparse: incompatible types for operation (==):Use __struct_size() instead. Every compiler that has __counted_by_ptr alsohas __builtin_dynamic_object_size() so it expands to the same builtin andthe test checks the same thing. sparse lacks the builtin and gets the__builtin_object_size() fallback which it does understand.Fixes: 501cbbd276b7 (&quot;vfs: Add KUnit tests for fdtable&quot;)Reported-by: kernel test robot &lt;lkp@intel.com&gt;Closes: https://lore.kernel.org/oe-kbuild-all/202609111337.fBSfTIpR-lkp@intel.com/Closes: https://lore.kernel.org/oe-kbuild-all/202609111828.SjerhPyO-lkp@intel.com/Signed-off-by: Christian Brauner (Amutable) &lt;brauner@kernel.org&gt;

            List of files:
            /linux/fs/tests/fdtable_kunit.c</description>
        <pubDate>Fri, 11 Sep 2026 14:47:49 +0200</pubDate>
        <dc:creator>Christian Brauner &lt;brauner@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>f5ae3d9f2940d7ab17f0c186bda880e13d18bde7 - Merge patch series &quot;vfs: Annotate struct fdtable&apos;s fd field with __counted_by_ptr&quot;</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/tests/fdtable_kunit.c#f5ae3d9f2940d7ab17f0c186bda880e13d18bde7</link>
        <description>Merge patch series &quot;vfs: Annotate struct fdtable&apos;s fd field with __counted_by_ptr&quot;Annotate struct fdtable&apos;s fd field with __counter_by_ptr and add Kunittests for struct fdtable.* patches from https://patch.msgid.link/20260827041732.188707-1-morbo@google.com:  vfs: Add KUnit tests for fdtable  vfs: Annotate struct fdtable&apos;s fd field with __counted_by_ptrLink: https://patch.msgid.link/20260827041732.188707-1-morbo@google.comSigned-off-by: Christian Brauner (Amutable) &lt;brauner@kernel.org&gt;

            List of files:
            /linux/fs/tests/fdtable_kunit.c</description>
        <pubDate>Thu, 10 Sep 2026 09:32:48 +0200</pubDate>
        <dc:creator>Christian Brauner &lt;brauner@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>501cbbd276b77d34af20ea3dd4f897c93630bac8 - vfs: Add KUnit tests for fdtable</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/tests/fdtable_kunit.c#501cbbd276b77d34af20ea3dd4f897c93630bac8</link>
        <description>vfs: Add KUnit tests for fdtableThis adds a KUnit test suite for fdtable to verify correct allocation,max_fds initialization, and dynamic object size of the fd array under__counted_by_ptr when CONFIG_CC_HAS_COUNTED_BY_PTR is enabled.Signed-off-by: Bill Wendling &lt;morbo@google.com&gt;Link: https://patch.msgid.link/20260827041732.188707-2-morbo@google.comReviewed-by: Jan Kara &lt;jack@suse.cz&gt;Signed-off-by: Christian Brauner (Amutable) &lt;brauner@kernel.org&gt;

            List of files:
            /linux/fs/tests/fdtable_kunit.c</description>
        <pubDate>Thu, 27 Aug 2026 06:17:30 +0200</pubDate>
        <dc:creator>Bill Wendling &lt;morbo@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
