<?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 test_core.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>a97853f2 - Revert &quot;selftests/cgroup: Drop define _GNU_SOURCE&quot;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#a97853f2</link>
        <description>Revert &quot;selftests/cgroup: Drop define _GNU_SOURCE&quot;This reverts commit c1457d9aad5ee2feafcf85aa9a58ab50500159d2.The framework change to add D_GNU_SOURCE to KHDR_INCLUDESto Makefile, lib.mk, and kselftest_harness.h is revertedas it is causing build failures and warnings.Revert this change as this change depends on the frameworkchange.Reported-by: Mark Brown &lt;broonie@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Fri, 17 May 2024 02:22:37 +0000</pubDate>
        <dc:creator>Shuah Khan &lt;skhan@linuxfoundation.org&gt;</dc:creator>
    </item>
<item>
        <title>c1457d9a - selftests/cgroup: Drop define _GNU_SOURCE</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#c1457d9a</link>
        <description>selftests/cgroup: Drop define _GNU_SOURCE_GNU_SOURCE is provided by lib.mk, so it should be dropped to preventredefinition warnings.Signed-off-by: Edward Liaw &lt;edliaw@google.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Fri, 10 May 2024 00:06:25 +0000</pubDate>
        <dc:creator>Edward Liaw &lt;edliaw@google.com&gt;</dc:creator>
    </item>
<item>
        <title>4793cb59 - selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#4793cb59</link>
        <description>selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegateThe test case test_cgcore_lesser_ns_open only tasks effect when cgroup2is mounted with &quot;nsdelegate&quot; mount option. If it misses this option, oris remounted without &quot;nsdelegate&quot;, the test case will fail. For example,running bpf/test_cgroup_storage first, and then run cgroup/test_core willfail on test_cgcore_lesser_ns_open. Skip it if &quot;nsdelegate&quot; is notdetected in cgroup2 mount options.Fixes: bf35a7879f1d (&quot;selftests: cgroup: Test open-time cgroup namespace usage for migration checks&quot;)Signed-off-by: Tianchen Ding &lt;dtcccc@linux.alibaba.com&gt;Reviewed-by: Muhammad Usama Anjum &lt;usama.anjum@collabora.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Wed, 27 Mar 2024 02:44:37 +0000</pubDate>
        <dc:creator>Tianchen Ding &lt;dtcccc@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>12101424 - selftests: cgroup: Minor code reorganizations</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#12101424</link>
        <description>selftests: cgroup: Minor code reorganizationsNo functional change intended, these small changes are merged into onecommit and they serve as a preparation for an upcoming new testcase.Signed-off-by: Michal Koutn&#253; &lt;mkoutny@suse.com&gt;Reviewed-by: Waiman Long &lt;longman@redhat.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Mon, 03 Jul 2023 17:27:40 +0000</pubDate>
        <dc:creator>Michal Koutn&#253; &lt;mkoutny@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>bf35a787 - selftests: cgroup: Test open-time cgroup namespace usage for migration checks</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#bf35a787</link>
        <description>selftests: cgroup: Test open-time cgroup namespace usage for migration checksWhen a task is writing to an fd opened by a different task, the perm checkshould use the cgroup namespace of the latter task. Add a test for it.Tested-by: Michal Koutn&#253; &lt;mkoutny@suse.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Thu, 06 Jan 2022 21:02:29 +0000</pubDate>
        <dc:creator>Tejun Heo &lt;tj@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>613e040e - selftests: cgroup: Test open-time credential usage for migration checks</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#613e040e</link>
        <description>selftests: cgroup: Test open-time credential usage for migration checksWhen a task is writing to an fd opened by a different task, the perm checkshould use the credentials of the latter task. Add a test for it.Tested-by: Michal Koutn&#253; &lt;mkoutny@suse.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Thu, 06 Jan 2022 21:02:29 +0000</pubDate>
        <dc:creator>Tejun Heo &lt;tj@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>9bd5910d - selftests/cgroup: add tests for cloning into cgroups</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#9bd5910d</link>
        <description>selftests/cgroup: add tests for cloning into cgroupsExpand the cgroup test-suite to include tests for CLONE_INTO_CGROUP.This adds the following tests:- CLONE_INTO_CGROUP manages to clone a process directly into a correctly  delegated cgroup- CLONE_INTO_CGROUP fails to clone a process into a cgroup that has been  removed after we&apos;ve opened an fd to it- CLONE_INTO_CGROUP fails to clone a process into an invalid domain  cgroup- CLONE_INTO_CGROUP adheres to the no internal process constraint- CLONE_INTO_CGROUP works with the freezer featureCc: Tejun Heo &lt;tj@kernel.org&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: cgroups@vger.kernel.orgCc: linux-kselftest@vger.kernel.orgAcked-by: Roman Gushchin &lt;guro@fb.com&gt;Signed-off-by: Christian Brauner &lt;christian.brauner@ubuntu.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Wed, 05 Feb 2020 13:26:23 +0000</pubDate>
        <dc:creator>Christian Brauner &lt;christian.brauner@ubuntu.com&gt;</dc:creator>
    </item>
<item>
        <title>04189382 - kselftest/cgroup: add cgroup destruction test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#04189382</link>
        <description>kselftest/cgroup: add cgroup destruction testAdd new test to verify that a cgroup with dead processes can be destroyed.The test spawns a child process which allocates and touches 100MB of RAMto ensure prolonged exit. Subsequently it kills the child, waits untilthe cgroup containing the child is empty and destroys the cgroup.Signed-off-by: Suren Baghdasaryan &lt;surenb@google.com&gt;[mkoutny@suse.com: Fix typo in test_cgcore_destroy comment]Acked-by: Michal Koutn&#253; &lt;mkoutny@suse.com&gt;Signed-off-by: Michal Koutn&#253; &lt;mkoutny@suse.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Fri, 24 Jan 2020 11:40:17 +0000</pubDate>
        <dc:creator>Suren Baghdasaryan &lt;surenb@google.com&gt;</dc:creator>
    </item>
<item>
        <title>192c197c - selftests: Uninitialized variable in test_cgcore_proc_migration()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#192c197c</link>
        <description>selftests: Uninitialized variable in test_cgcore_proc_migration()The &quot;c_threads&quot; variable is used in the error handling code before ithas been initializedFixes: 11318989c381 (&quot;selftests: cgroup: Add task migration tests&quot;)Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;Acked-by: Michal Koutn&#253; &lt;mkoutny@suse.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Wed, 08 Jan 2020 05:46:29 +0000</pubDate>
        <dc:creator>Dan Carpenter &lt;dan.carpenter@oracle.com&gt;</dc:creator>
    </item>
<item>
        <title>11318989 - selftests: cgroup: Add task migration tests</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#11318989</link>
        <description>selftests: cgroup: Add task migration testsAdd two new tests that verify that thread and threadgroup migrationswork as expected.Signed-off-by: Michal Koutn&#253; &lt;mkoutny@suse.com&gt;Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Fri, 04 Oct 2019 10:57:42 +0000</pubDate>
        <dc:creator>Michal Koutn&#253; &lt;mkoutny@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>f97f3f88 - kselftest/cgroup: fix incorrect test_core skip</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#f97f3f88</link>
        <description>kselftest/cgroup: fix incorrect test_core skipThe test_core will skip thetest_cgcore_no_internal_process_constraint_on_threads test case if the&apos;cpu&apos; controller missing in root&apos;s subtree_control. In fact we need toset the &apos;cpu&apos; in subtree_control, to make the testing meaningful../test_core...ok 4 # skip test_cgcore_no_internal_process_constraint_on_threads...Signed-off-by: Alex Shi &lt;alex.shi@linux.alibaba.com&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Tejun Heo &lt;tj@kernel.org&gt;Cc: Roman Gushchin &lt;guro@fb.com&gt;Cc: Claudio Zumbo &lt;claudioz@fb.com&gt;Cc: Claudio &lt;claudiozumbo@gmail.com&gt;Cc: linux-kselftest@vger.kernel.orgCc: linux-kernel@vger.kernel.orgReviewed-by: Roman Gushchin &lt;guro@fb.com&gt;Acked-by: Tejun Heo &lt;tj@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Mon, 27 May 2019 06:28:07 +0000</pubDate>
        <dc:creator>Alex Shi &lt;alex.shi@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>00e38a5d - kselftest/cgroup: fix unexpected testing failure on test_core</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#00e38a5d</link>
        <description>kselftest/cgroup: fix unexpected testing failure on test_coreThe cgroup testing relys on the root cgroup&apos;s subtree_control setting,If the &apos;memory&apos; controller isn&apos;t set, some test cases will be failedas following:$sudo  ./test_corenot ok 1 test_cgcore_internal_process_constraintok 2 test_cgcore_top_down_constraint_enablenot ok 3 test_cgcore_top_down_constraint_disable...To correct this unexpected failure, this patch write the &apos;memory&apos; tosubtree_control of root to get a right result.Signed-off-by: Alex Shi &lt;alex.shi@linux.alibaba.com&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Tejun Heo &lt;tj@kernel.org&gt;Cc: Roman Gushchin &lt;guro@fb.com&gt;Cc: Claudio Zumbo &lt;claudioz@fb.com&gt;Cc: Claudio &lt;claudiozumbo@gmail.com&gt;Cc: linux-kselftest@vger.kernel.orgCc: linux-kernel@vger.kernel.orgReviewed-by: Roman Gushchin &lt;guro@fb.com&gt;Acked-by: Tejun Heo &lt;tj@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Mon, 27 May 2019 06:28:06 +0000</pubDate>
        <dc:creator>Alex Shi &lt;alex.shi@linux.alibaba.com&gt;</dc:creator>
    </item>
<item>
        <title>d863cb03 - Add cgroup core selftests</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/cgroup/test_core.c#d863cb03</link>
        <description>Add cgroup core selftestsThis commit adds tests for some of the core functionalitiesof cgroups v2.The commit adds tests for some core principles of croup V2 API:- test_cgcore_internal_process_constraint  Tests internal process constraint.  You can&apos;t add a pid to a domain parent if a controller is enabled.- test_cgcore_top_down_constraint_enable   Tests that you can&apos;t enable a controller on a child if it&apos;s not enabled   on the parent.- test_cgcore_top_down_constraint_disable  Tests that you can&apos;t disable a controller on a parent if it&apos;s  enabled in a child.- test_cgcore_no_internal_process_constraint_on_threads  Tests that there&apos;s no internal process constrain on threaded cgroups.  You can add threads/processes on a parent with a controller enabled.- test_cgcore_parent_becomes_threaded  Tests that when a child becomes threaded the parent type becomes  domain threaded.- test_cgcore_invalid_domain  In a situation like:  A (domain threaded) - B (threaded) - C (domain)  it tests that C can&apos;t be used until it is turned into a threaded cgroup.  The &quot;cgroup.type&quot; file will report &quot;domain (invalid)&quot; in these cases.  Operations which fail due to invalid topology use EOPNOTSUPP as the errno.- test_cgcore_populated  In a situation like:  A(0) - B(0) - C(1)         \ D(0)  It tests that A, B and C&apos;s &quot;populated&quot; fields would be 1 while D&apos;s 0.  It tests that after the one process in C is moved to root, A,B and C&apos;s  &quot;populated&quot; fields would flip to &quot;0&quot; and file modified events will  be generated on the &quot;cgroup.events&quot; files of both cgroups.Signed-off-by: Claudio Zumbo &lt;claudioz@fb.com&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Roman Gushchin &lt;guro@fb.com&gt;Cc: Tejun Heo &lt;tj@kernel.org&gt;Cc: kernel-team@fb.comAcked-by: Tejun Heo &lt;tj@kernel.org&gt;Reviewed-by: Roman Gushchin &lt;guro@fb.com&gt;Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/cgroup/test_core.c</description>
        <pubDate>Wed, 18 Jul 2018 17:33:58 +0000</pubDate>
        <dc:creator>Claudio &lt;claudiozumbo@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
