mirror of
https://github.com/containers/podman.git
synced 2025-12-11 09:18:34 +08:00
We implement the securejoin method to make sure the paths to /etc/passwd and /etc/group are not symlinks to something naughty or outside the container image. And then instead of actually chrooting, we use the runc functions to get information about a user. The net result is increased security and a a performance gain from 41ms to 100us. Signed-off-by: baude <bbaude@redhat.com>
1.7 KiB
1.7 KiB