runc/cgroups
Timothy Hobbs 18f6a5aaf4 Refactor device handling code
We now have one place that keeps track of (most) devices that are allowed and created within the container.  That place is pkg/libcontainer/devices/devices.go

This fixes several inconsistencies between which devices were created in the lxc backend and the native backend.  It also fixes inconsistencies between wich devices were created and which were allowed.  For example, /dev/full was being created but it was not allowed within the cgroup.  It also declares the file modes and permissions of the default devices, rather than copying them from the host.  This is in line with docker's philosphy of not being host dependent.

Docker-DCO-1.1-Signed-off-by: Timothy Hobbs <timothyhobbs@seznam.cz> (github: https://github.com/timthelion)
2014-05-30 19:21:29 +00:00
..
fs Refactor device handling code 2014-05-30 19:21:29 +00:00
systemd Refactor device handling code 2014-05-30 19:21:29 +00:00
cgroups.go Refactor device handling code 2014-05-30 19:21:29 +00:00
cgroups_test.go Move cgroups package into libcontainer 2014-05-14 15:21:44 -07:00
stats.go Added stats.go which provides strong types for all stats that will be exported by libcontainer. This commit only introduces the strong type. 2014-05-23 20:42:43 +00:00
utils.go Move get pid into cgroup implementation 2014-05-21 21:14:07 +00:00