spiegel_podman/pkg/util
Giuseppe Scrivano f711f5a68d
podman: drop checking valid rootless UID
do not check whether the specified ID is valid in the user namespace.

crun handles this case[1], so the check in Podman prevents to get to
the OCI runtime at all.

$ podman run --user 10:0 --uidmap 0:0:1 --rm -ti fedora:33 sh -c 'id; cat /proc/self/uid_map'
uid=10(10) gid=0(root) groups=0(root),65534(nobody)
        10          0          1

[1] https://github.com/containers/crun/pull/556

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-11 15:43:33 +01:00
..
camelcase camelcase: fix lint reports 2020-01-25 09:48:37 +01:00
mountOpts.go Add better support for unbindable volume mounts 2020-11-02 07:19:12 -05:00
mountOpts_linux.go Turn off 'noexec' option by default for named volumes 2020-05-20 16:48:20 -04:00
mountOpts_other.go pkg/spec.InitFSMounts: optimize 2020-04-02 07:52:34 -07:00
utils.go Support Unix timestamps for podman logs --since 2020-12-04 15:14:31 +08:00
utils_darwin.go libpod removal from main (phase 2) 2019-06-27 07:56:24 -05:00
utils_linux.go podman: drop checking valid rootless UID 2020-12-11 15:43:33 +01:00
utils_linux_test.go Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
utils_supported.go Use Libpod tmpdir for pause path 2020-12-02 14:18:37 -05:00
utils_test.go Centralize cores and period/quota conversion code 2020-10-31 10:07:11 -05:00
utils_unsupported.go podman: drop checking valid rootless UID 2020-12-11 15:43:33 +01:00
utils_windows.go Use Libpod tmpdir for pause path 2020-12-02 14:18:37 -05:00