Files
systemd/src
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
..
2012-12-31 21:24:26 +01:00
2014-03-17 01:55:48 -04:00
2014-02-19 17:53:50 +01:00
2014-04-14 21:02:20 +02:00
2014-02-19 17:53:50 +01:00
2014-05-24 19:01:03 -04:00
2013-10-03 22:13:55 -04:00