crun icon indicating copy to clipboard operation
crun copied to clipboard

use BPFProgram=device: to configure the devices cgroup

Open giuseppe opened this issue 5 months ago • 1 comments
trafficstars

crun currently uses the systemd d-bus API to set up device cgroups. Update the runtime to use BPFProgram=device: on cgroup v2 instead to avoid multiple conversions of rules and to express all the rules without the limitations imposed by systemd. The same generator used for the cgroupfs driver can be used to generate the ebpf.

giuseppe avatar May 29 '25 12:05 giuseppe