mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
655f8ea808
When in a non-initial user namespace you cannot update the devices cgroup whitelist (or blacklist). The kernel won't allow it. So detect that case and don't try. This is a step to being able to run docker/runc containers inside a user namespaced container. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>