FreeBSD Bugzilla – Attachment 209300 Details for
Bug 241710
please increase ARG_MAX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Option 2: leave ARG_MAX untouched for IPL32 but increment for LP64
sys-arg_max-option2.diff (text/plain), 625 bytes, created by
Pedro F. Giffuni
on 2019-11-21 00:16:02 UTC
(
hide
)
Description:
Option 2: leave ARG_MAX untouched for IPL32 but increment for LP64
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2019-11-21 00:16:02 UTC
Size:
625 bytes
patch
obsolete
>Index: sys/sys/syslimits.h >=================================================================== >--- sys/sys/syslimits.h (revision 354860) >+++ sys/sys/syslimits.h (working copy) >@@ -48,7 +48,11 @@ > * Do not add any new variables here. (See the comment at the end of > * the file for why.) > */ >-#define ARG_MAX 262144 /* max bytes for an exec function */ >+#ifndef __ILP32__ >+#define ARG_MAX (3 * 256 * 1024) /* max bytes for an exec function */ >+#else >+#define ARG_MAX (256 * 1024) /* max bytes for KVA-starved archs */ >+#endif > #ifndef CHILD_MAX > #define CHILD_MAX 40 /* max simultaneous processes */ > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241710
:
208895
|
209120
|
209195
|
209299
| 209300