diff options
author | baude <bbaude@redhat.com> | 2018-10-25 13:39:25 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-10-29 08:59:46 -0500 |
commit | 1dd7f13dfbc1dd377eabace0239b1c05cd60b144 (patch) | |
tree | a7d99c70e882fcc1440023c0a5aaf917d5e886e3 /pkg/hooks/read_test.go | |
parent | aa853b20913696286fff05a0e1572421e26179a2 (diff) | |
download | podman-1dd7f13dfbc1dd377eabace0239b1c05cd60b144.tar.gz podman-1dd7f13dfbc1dd377eabace0239b1c05cd60b144.tar.bz2 podman-1dd7f13dfbc1dd377eabace0239b1c05cd60b144.zip |
get user and group information using securejoin and runc's user library
for the purposes of performance and security, we use securejoin to contstruct
the root fs's path so that symlinks are what they appear to be and no pointing
to something naughty.
then instead of chrooting to parse /etc/passwd|/etc/group, we now use the runc user/group
methods which saves us quite a bit of performance.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/hooks/read_test.go')
0 files changed, 0 insertions, 0 deletions