core: add device mapper to allow-list with DevicePolicy=closed and RootImage
To set up a verity/cryptsetup RootImage the forked child needs to ioctl /dev/mapper/control and create a new mapper. If PrivateDevices=yes and/or DevicePolicy=closed are used, this is blocked by the cgroup setting, so add an exception like it's done for loop devices (and also add a dependency on the kernel modules implementing them).
Loading
Please register or sign in to comment