opencontainers / opencontainers/runc
use cgroupfd
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 13.5k
- Forks
- 2.3k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 30
Description
New CLONE_INTO_CGROUP feature has made its way into Linux v5.17 (and it's only working with cgroup v2).
Support for cgroupfd in Go has just landed (https://go-review.googlesource.com/c/go/+/417695) and will be available in Go 1.20 (once it's released).
We want to support this to simplify cgroup entering.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by reading runc's existing cgroup handling, then review Linux v5.17's CLONE_INTO_CGROUP feature and Go 1.20 cgroupfd support. Done means runc supports entering cgroup v2 through cgroupfd and simplifies cgroup entry.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100