From 526669de6f870aff41775898eaa6777a7a3249dd Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 22 Feb 2022 14:35:51 -0600 Subject: [PATCH] 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 Reviewed-by: waddlesplash Tested-by: Commit checker robot --- headers/private/system/user_runtime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/private/system/user_runtime.h b/headers/private/system/user_runtime.h index 9110ed2189..2c3d8e0708 100644 --- a/headers/private/system/user_runtime.h +++ b/headers/private/system/user_runtime.h @@ -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