spiegel_podman/pkg/rootless
Giuseppe Scrivano 1091440e5d
rootless: fix usage with hidepid=1
when /proc is mounted with hidepid=1 a process doesn't see processes
from the outer user namespace.  This causes an issue reading the
cmdline from the parent process.

To address it, always read the command line from /proc/self instead of
using /proc/PARENT_PID.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-03-19 11:18:23 +01:00
..
rootless.go fix lint in pkg/rootless 2020-01-08 15:44:30 +01:00
rootless_linux.c rootless: fix usage with hidepid=1 2020-03-19 11:18:23 +01:00
rootless_linux.go rootless: become root only if the pause file is specified 2020-02-25 18:15:29 +01:00
rootless_unsupported.go rootless: do not enable lingering mode 2019-10-17 19:12:10 +02:00