task_css_is_root(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ 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 task
  • subsys_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


mwah πŸ’‹ β€” with love from ./include/linux, October 2026, on the task_css_is_root(9) page πŸŽ€

πŸ“¦ where this page comes from