runc/libcontainer/cgroups
Aleksa Sarai 03e585985f
rootless: cgroup: treat EROFS as a skippable error
In some cases, /sys/fs/cgroups is mounted read-only. In rootless
containers we can consider this effectively identical to having cgroups
that we don't have write permission to -- because the user isn't
responsible for the read-only setup and cannot modify it. The rules are
identical to when /sys/fs/cgroups is not writable by the unprivileged
user.

An example of this is the default configuration of Docker, where cgroups
are mounted as read-only as a preventative security measure.

Reported-by: Vladimir Rutsky <rutsky@google.com>
Signed-off-by: Aleksa Sarai <asarai@suse.de>
2018-03-17 13:53:42 +11:00
..
fs rootless: cgroup: treat EROFS as a skippable error 2018-03-17 13:53:42 +11:00
systemd Add timeout while waiting for StartTransinetUnit completion signal from dbus 2018-03-07 05:11:38 -05:00
cgroups.go cgroups: update the comments 2017-01-03 22:40:12 +08:00
cgroups_test.go Rework ParseCgroupFile 2015-09-10 20:59:27 +03:00
cgroups_unsupported.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
stats.go Expose memory.use_hierarchy in MemoryStats 2017-03-31 13:40:34 -04:00
utils.go Merge pull request #1372 from cloudfoundry-incubator/cpuset-mount-root 2017-05-25 09:53:57 -07:00
utils_test.go Create containers when cgroups already mounted 2017-03-15 10:10:30 +00:00