opencontainers / opencontainers/runc

use cgroupfd

Open
#3,597 0 comments 4 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.