• Andrei Vagin's avatar
    zdtm: don't use getpwnam and getgrnam · 44dc0159
    Andrei Vagin authored
    For us it doesn't matter what names of users and groups are used,
    we want to be sure that we restore right uid-s and gid-s.
    
    If we use these functions, we can't run tests in namespaces and
    they use an external unix socket, what can be a problem too.
    
    sk unix: 	Runaway socket: ino 0x1df1ae4 peer_ino 0x1df1ae3 family    1 type    1 state  1 name /run/dbus/system_bus_socket
    Error (criu/sk-unix.c:712): sk unix: External socket is used. Consider using --ext-unix-sk option.
    
    Cc: Vitaly Ostrosablin <vostrosablin@virtuozzo.com>
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    44dc0159
Name
Last commit
Last update
..
compel Loading commit data...
inhfd Loading commit data...
jenkins Loading commit data...
others Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
abrt.sh Loading commit data...
check_actions.py Loading commit data...
crit-recode.py Loading commit data...
criu.py Loading commit data...
empty-netns-prep.sh Loading commit data...
groups.desc Loading commit data...
inhfd.desc Loading commit data...
rpc_pb2.py Loading commit data...
show_action.sh Loading commit data...
umount2.c Loading commit data...
zdtm.desc Loading commit data...
zdtm.py Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...