1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Dan Walsh b7942ec2ca This patch reworks the SELinux patch to be only run on demand by the daemon
Added --selinux-enable switch to daemon to enable SELinux labeling.

The daemon will now generate a new unique random SELinux label when a
container starts, and remove it when the container is removed.   The MCS
labels will be stored in the daemon memory.  The labels of containers will
be stored in the container.json file.

When the daemon restarts on boot or if done by an admin, it will read all containers json files and reserve the MCS labels.

A potential problem would be conflicts if you setup thousands of containers,
current scheme would handle ~500,000 containers.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: crosbymichael)
2014-04-29 03:40:05 -07:00
..
execdriver Initial work on selinux patch 2014-04-29 03:40:05 -07:00
graphdriver Initial work on selinux patch 2014-04-29 03:40:05 -07:00
networkdriver Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
container.go This patch reworks the SELinux patch to be only run on demand by the daemon 2014-04-29 03:40:05 -07:00
container_unit_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon.go This patch reworks the SELinux patch to be only run on demand by the daemon 2014-04-29 03:40:05 -07:00
daemon_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_btrfs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_devicemapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_no_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
history.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
network_settings.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
server.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
sorter.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
state.go container: Remove Ghost state 2014-04-22 09:49:53 +02:00
utils.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
utils_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
volumes.go Initial work on selinux patch 2014-04-29 03:40:05 -07:00