Commit 463951aa authored by Andrei Vagin's avatar Andrei Vagin

test: set uid_map so that INVALID_UID was out of this map

https://github.com/checkpoint-restore/criu/issues/466Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 137ce1a5
...@@ -350,7 +350,7 @@ int ns_init(int argc, char **argv) ...@@ -350,7 +350,7 @@ int ns_init(int argc, char **argv)
exit(1); exit(1);
} }
#define UID_MAP "0 100000 100000\n100000 200000 50000" #define UID_MAP "0 20000 20000\n100000 200000 50000"
#define GID_MAP "0 400000 50000\n50000 500000 100000" #define GID_MAP "0 400000 50000\n50000 500000 100000"
void ns_create(int argc, char **argv) void ns_create(int argc, char **argv)
{ {
......
...@@ -25,7 +25,7 @@ int main(int argc, char *argv[]) ...@@ -25,7 +25,7 @@ int main(int argc, char *argv[])
char *slavename; char *slavename;
struct stat st; struct stat st;
uid_t new_uid = 33333; uid_t new_uid = 13333;
gid_t new_gid = 44444; gid_t new_gid = 44444;
test_init(argc, argv); test_init(argc, argv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment