Comment 6 for bug 1876697

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote : Re: test_regression_testsuite from ubuntu_qrt_apparmor failed on Focal zVM

My guess is that the test might be hitting the following code from kernel/sched/core.c:

#ifdef CONFIG_RT_GROUP_SCHED
                /*
                 * Do not allow realtime tasks into groups that have no runtime
                 * assigned.
                 */
                if (rt_bandwidth_enabled() && rt_policy(policy) &&
                                task_group(p)->rt_bandwidth.rt_runtime == 0 &&
                                !task_group_is_autogroup(task_group(p))) {
                        retval = -EPERM;
                        goto unlock;
                }
#endif

Which is not really about the capabilities. That is just a guess.