diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-03-19 11:18:21 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-03-19 11:18:23 +0100 |
commit | 1091440e5dc595f89b29939a4bdfa182f9137125 (patch) | |
tree | 1b400c974c613f93b7dc66667fa32a6f21a6a600 /seccomp.json | |
parent | bd9386ddac4ef6730fbe6ce4104e80f56a48fe43 (diff) | |
download | podman-1091440e5dc595f89b29939a4bdfa182f9137125.tar.gz podman-1091440e5dc595f89b29939a4bdfa182f9137125.tar.bz2 podman-1091440e5dc595f89b29939a4bdfa182f9137125.zip |
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>
Diffstat (limited to 'seccomp.json')
0 files changed, 0 insertions, 0 deletions