summaryrefslogtreecommitdiff
path: root/libmisc
diff options
context:
space:
mode:
authorChristian Perrier <bubulle@debian.org>2014-05-09 12:21:45 +0200
committerChristian Perrier <bubulle@debian.org>2014-05-09 12:21:45 +0200
commit03c52251fb0ec875067c03249fb6486b7210aad6 (patch)
tree277908f3fae6ea3dc1f8527932ee86e4401639f7 /libmisc
parentaadd2f332cfcf6100bb2476f902e565cc82bd5a3 (diff)
downloadshadow-03c52251fb0ec875067c03249fb6486b7210aad6.tar.gz
Configure userns
Diffstat (limited to 'libmisc')
-rw-r--r--libmisc/find_new_sub_gids.c2
-rw-r--r--libmisc/find_new_sub_uids.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmisc/find_new_sub_gids.c b/libmisc/find_new_sub_gids.c
index 335203ca..ae8a937c 100644
--- a/libmisc/find_new_sub_gids.c
+++ b/libmisc/find_new_sub_gids.c
@@ -58,7 +58,7 @@ int find_new_sub_gids (const char *owner,
min = getdef_ulong ("SUB_GID_MIN", 100000UL);
max = getdef_ulong ("SUB_GID_MAX", 600100000UL);
- count = getdef_ulong ("SUB_GID_COUNT", 10000);
+ count = getdef_ulong ("SUB_GID_COUNT", 65536);
if (min > max || count >= max || (min + count - 1) > max) {
(void) fprintf (stderr,
diff --git a/libmisc/find_new_sub_uids.c b/libmisc/find_new_sub_uids.c
index 6afaa96d..12cb2d2e 100644
--- a/libmisc/find_new_sub_uids.c
+++ b/libmisc/find_new_sub_uids.c
@@ -58,7 +58,7 @@ int find_new_sub_uids (const char *owner,
min = getdef_ulong ("SUB_UID_MIN", 100000UL);
max = getdef_ulong ("SUB_UID_MAX", 600100000UL);
- count = getdef_ulong ("SUB_UID_COUNT", 10000);
+ count = getdef_ulong ("SUB_UID_COUNT", 65536);
if (min > max || count >= max || (min + count - 1) > max) {
(void) fprintf (stderr,