cgroup_attach_task_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 cgroup_attach_task_all(9) 🌸

Hiii bestie!! Welcome to the Kernel API Manual page for cgroup_attach_task_all β€” yes, the section 9 one. This is the Kernel API Manual, so grab your iced coffee and let’s get into it. πŸ’–

✨ NAME ✨

cgroup_attach_task_all β€” attach task tsk to all cgroups of task from. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int cgroup_attach_task_all (struct task_struct *from , struct task_struct *tsk );

πŸ’… ARGUMENTS πŸ’…

  • from β€” attach to all cgroups of a given task. This is the β€œgiven task” in that whole β€œall cgroups of a given task” situation, iykyk. 🫢
  • tsk β€” the task to be attached. Simple, iconic, no notes. ✨

πŸ‘‘ RETURN πŸ‘‘

Returns 0 on success or a negative errno code on failure. No cap, that’s the whole deal. πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./kernel/cgroup/cgroup-v1.c β€” and these function besties are right there too:


Okay that’s the page, bestie. πŸŽ€ Sourced from ./kernel/cgroup and dated October 2026 β€” mwah, bye! πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from