Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support Device CGroup rules update through runc #92

Merged

Conversation

agners
Copy link
Member

@agners agners commented Aug 8, 2022

With CGroups v2, device CGroup rules update is not as straight forward
since it requires ebpf rules. Currently, runc does support updating
this ebpf rules, but when using the runc update command new device
rules are not passed yet. A patched runc version (and hopefully future
runc versions) support updating device resources, see:
opencontainers/runc#3402

Use this (patched) runc capability to support Device CGroup rules
updates with CGroups v2.

With CGroups v2, device CGroup rules update is not as straight forward
since it requires ebpf rules. Currently, runc does support updating
this ebpf rules, but when using the runc update command new device
rules are not passed yet. A patched runc version (and hopefully future
runc versions) support updating device resources, see:
opencontainers/runc#3402

Use this (patched) runc capability to support Device CGroup rules
updates with CGroups v2.
cgroup/cgroup.go Outdated Show resolved Hide resolved
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants