Files
Parman Mohammadalizadeh a4bb02310b refactor(libcgroups): build the device Emulator in one place (#3914)
* refactor(libcgroups): build the device Emulator in one place

Add Emulator::from_spec, which starts from deny-all, adds the spec's
device rules in order and then the default devices. The cgroupfs v2
controller and the systemd device controller both use it, so the
default-device logic exists only once. No behavior change.

Fixes #3908

Signed-off-by: Parman Mohammadalizadeh <prmma23@gmail.com>

* refactor(libcgroups): keep the device FIXMEs on Emulator::from_spec

The two open questions moved with the code they were about, so they now cover both the cgroupfs v2 and systemd drivers.

Signed-off-by: Parman Mohammadalizadeh <prmma23@gmail.com>

---------

Signed-off-by: Parman Mohammadalizadeh <prmma23@gmail.com>
2026-11-29 13:48:07 +09:00
..
2021-10-22 22:05:14 +02:00
2026-11-23 20:42:36 +09:00