Skip to content

Commit d07bf57

Browse files
committed
Update Changelog
1 parent f21a34c commit d07bf57

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# v3.8:
22
* Support more platforms, currently supports: arm64, armv7, armhf, riscv64, i386, loong64, s390x, ppc64le and x86_64.
33
* Add `-W` option: `--work-dir`.
4+
* Change MAX_MOUNTPOINTS AND MAX_ENVS from 128*2 to 512*2
45
* Fix crash on capget().
56
* Fix qemu path when we pre-mount the rootfs from other source.
67
* Add autotest.

src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ static void parse_args(int argc, char **_Nonnull argv, struct CONTAINER *_Nonnul
316316
container->env[i + 2] = NULL;
317317
break;
318318
}
319-
// Max 128 envs.
319+
// Max 512 envs.
320320
if (i == (MAX_ENVS - 1)) {
321321
error("{red}Too many envs QwQ\n");
322322
}
@@ -340,7 +340,7 @@ static void parse_args(int argc, char **_Nonnull argv, struct CONTAINER *_Nonnul
340340
container->extra_mountpoint[i + 2] = NULL;
341341
break;
342342
}
343-
// Max 128 mountpoints.
343+
// Max 512 mountpoints.
344344
if (i == (MAX_MOUNTPOINTS - 1)) {
345345
error("{red}Too many mountpoints QwQ\n");
346346
}
@@ -364,7 +364,7 @@ static void parse_args(int argc, char **_Nonnull argv, struct CONTAINER *_Nonnul
364364
container->extra_ro_mountpoint[i + 2] = NULL;
365365
break;
366366
}
367-
// Max 128 mountpoints.
367+
// Max 512 mountpoints.
368368
if (i == (MAX_MOUNTPOINTS - 1)) {
369369
error("{red}Too many mountpoints QwQ\n");
370370
}

0 commit comments

Comments
 (0)