summaryrefslogtreecommitdiff
path: root/pkg/bindings/bindings.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-03-19 11:18:21 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-03-19 11:18:23 +0100
commit1091440e5dc595f89b29939a4bdfa182f9137125 (patch)
tree1b400c974c613f93b7dc66667fa32a6f21a6a600 /pkg/bindings/bindings.go
parentbd9386ddac4ef6730fbe6ce4104e80f56a48fe43 (diff)
downloadpodman-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 'pkg/bindings/bindings.go')
0 files changed, 0 insertions, 0 deletions