<?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 sysfs.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>c5db77a035e1291e2c9b488073c28b441e5e44f3 - vfio: selftests: Introduce a sysfs lib</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/vfio/lib/include/libvfio/sysfs.h#c5db77a035e1291e2c9b488073c28b441e5e44f3</link>
        <description>vfio: selftests: Introduce a sysfs libIntroduce a sysfs library to handle the common reads/writes to thePCI sysfs files, for example, getting the total number of VFs supportedby the device via /sys/bus/pci/devices/$BDF/sriov_totalvfs. The librarywill be used in the upcoming test patch to configure the VFs for a givenPF device.Since readlink() is quite commonly used in the lib, introduce and usereadlink_safe() to take care of potential buffer overrun errors and tosafely terminate the buffer with &apos;\0&apos;.Opportunistically, move vfio_pci_get_group_from_dev() to this library asit falls under the same bucket. Rename it to sysfs_iommu_group_get() toalign with other function names.Signed-off-by: Raghavendra Rao Ananta &lt;rananta@google.com&gt;Reviewed-by: Vipin Sharma &lt;vipinsh@google.com&gt;Reviewed-by: David Matlack &lt;dmatlack@google.com&gt;Tested-by: David Matlack &lt;dmatlack@google.com&gt;Link: https://lore.kernel.org/r/20260505212838.1698034-4-rananta@google.comSigned-off-by: Alex Williamson &lt;alex@shazbot.org&gt;

            List of files:
            /linux/tools/testing/selftests/vfio/lib/include/libvfio/sysfs.h</description>
        <pubDate>Tue, 05 May 2026 23:28:33 +0200</pubDate>
        <dc:creator>Raghavendra Rao Ananta &lt;rananta@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
