commit | dd9824e07eb0f19b4afd22b2cbe23a4563fbbc91 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Aug 23 22:36:48 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Aug 23 22:36:48 2013 -0700 |
tree | c5fbe7d25e96597051f3d30ce9556aebe5535fc0 | |
parent | 02d8d838abe4eb638542858e31c1bcc289996cd9 [diff] |
vps_create(): don't save LOCAL_UID/GID== for OVZ Commit b529da9 added saving LOCAL_UID=0 and LOCAL_GID=0 when user namespace is not available. This is needed for upstream kernel, but does not make any sense for OpenVZ kernel. So let's add a check for non-ovz kernel. Signed-off-by: Kir Kolyshkin <kir@openvz.org>