system/kernel: Increase MAX_PROCESS_ARGS_SIZE; fixes #17612

* Resolves an issue compiling icu70
* FreeBSD is 262,144
* Linux is 2,097,152
* Haiku was 131,072

This roughly doubles the maximum args length, and makes us
function inline with FreeBSD today.  If we're the shortest
straw, we're going to find a lot of things broken (such
as ICU 70.1) Matching FreeBSD means any limitations we see
will also be seen on FreeBSD, making fewer "Haiku issues".

Change-Id: I677c0523a2f27c9e9901fda4180445bcb6da31b2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4991
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
(cherry picked from commit 526669de6f)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4996
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
This commit is contained in:
Alexander von Gluck IV 2022-02-22 14:35:51 -06:00 committed by Alex von Gluck IV
parent 7e242ef503
commit 20bdd9b5a8

View File

@ -15,7 +15,7 @@
#define MAGIC_APP_NAME "_APP_"
#define MAX_PROCESS_ARGS_SIZE (128 * 1024)
#define MAX_PROCESS_ARGS_SIZE (256 * 1024)
// maximal total size needed for process arguments and environment strings