The cgroup-rs should throw errors while setting devices cgroup if the rule is invalid. For example, if a cgroup has permissions of some devices. Then we set a a *:* rwm to its parent's devices.deny. An error should be thrown to make users realize that it is a invalid rule.
The cgroup-rs should throw errors while setting devices cgroup if the rule is invalid. For example, if a cgroup has permissions of some devices. Then we set a
a *:* rwm
to its parent'sdevices.deny
. An error should be thrown to make users realize that it is a invalid rule.