summaryrefslogtreecommitdiff
path: root/utils/utils_supported.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2021-04-22 14:57:49 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2021-04-26 08:58:55 +0200
commit722ea2f1f82ff16271b50b508d709e5da275e32a (patch)
tree31c519d969bfe6ce6f16d5fceacd54025de78b39 /utils/utils_supported.go
parente4c269e2d01dee6497269e62119126b93e388da3 (diff)
downloadpodman-722ea2f1f82ff16271b50b508d709e5da275e32a.tar.gz
podman-722ea2f1f82ff16271b50b508d709e5da275e32a.tar.bz2
podman-722ea2f1f82ff16271b50b508d709e5da275e32a.zip
runtime: create userns when CAP_SYS_ADMIN is not present
when deciding to create a user namespace, check for CAP_SYS_ADMIN instead of looking at the euid. [NO TESTS NEEDED] Needs nested Podman Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'utils/utils_supported.go')
0 files changed, 0 insertions, 0 deletions