task_css_is_root(9)
π task_css_is_root(9) π
okay bestie, welcome to the Kernel API Manualβs task_css_is_root(9) page β this one is literally a lilβ vibe check for cgroups.
π NAME π
task_css_is_rootβ test whether a task belongs to the root css
β¨ SYNOPSIS β¨
bool task_css_is_root (struct task_struct *task , int subsys_id );
π ARGUMENTS π
taskβ the target tasksubsys_idβ the target subsystem ID
π¦ DESCRIPTION π¦
Test whether task belongs to the root css on the specified subsystem. May be invoked in any context. No cap, any context means any context π
.
πΈ SEE ALSO πΈ
Kernel file: ./include/linux/cgroup.h
cgroup_subsys_enabled(9)cgroup_subsys_on_dfl(9)css_for_each_child(9)css_for_each_descendant_pre(9)css_for_each_descendant_post(9)cgroup_taskset_for_each(9)cgroup_taskset_for_each_leader(9)cgroup_css(9)css_is_dying(9)task_css_set_check(9)task_css_check(9)task_css_set(9)task_css(9)task_get_css(9)cgroup_is_descendant(9)cgroup_ancestor(9)cgroup_common_ancestor(9)task_under_cgroup_hierarchy(9)
mwah π β with love from ./include/linux, October 2026, on the task_css_is_root(9) page π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms