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 <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
Alexander von Gluck IV
2022-02-23 17:36:54 +00:00
committed by Adrien Destugues
parent 4e151bc309
commit 526669de6f
+1 -1
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