Files
systemd-stable/src/core
Lennart Poettering fdd2531170 virt: rework container detection logic
Instead of accessing /proc/1/environ directly, trying to read the
$container variable from it, let's make PID 1 save the contents of that
variable to /run/systemd/container. This allows us to detect containers
without the need for CAP_SYS_PTRACE, which allows us to drop it from a
number of daemons and from the file capabilities of systemd-detect-virt.

Also, don't consider chroot a container technology anymore. After all,
we don't consider file system namespaces container technology anymore,
and hence chroot() should be considered a container even less.
2014-05-28 18:53:44 +08:00
..
2014-03-24 20:07:42 +01:00
2014-05-22 11:53:12 +09:00
2014-05-22 11:53:12 +09:00
2014-03-24 20:07:42 +01:00
2013-11-20 20:52:36 +01:00
2014-05-15 15:29:58 +02:00
2014-03-24 20:07:42 +01:00
2014-05-22 16:52:53 +09:00
2014-05-22 07:13:56 +09:00
2014-05-28 18:53:44 +08:00
2014-05-22 11:53:12 +09:00
2014-05-22 11:53:12 +09:00
2013-11-20 20:52:36 +01:00
2013-06-27 04:17:34 +02:00
2014-05-15 15:29:58 +02:00
2014-05-22 11:53:12 +09:00
2013-11-20 20:52:36 +01:00
2014-05-24 11:39:47 +08:00
2014-05-24 19:01:03 -04:00