mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +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>
2 lines
29 B
Plaintext
2 lines
29 B
Plaintext
github.com/pkg/errors v0.8.0
|