Skip to content

Commit 446c9d1

Browse files
committed
Increase MAX_ARG_STRLEN
Sometimes we get "Argument list too long" in AOSP compiles due to some commands being excessively long due to the directory structure. Double this and forget it. Signed-off-by: Simão Gomes Viana <[email protected]>
1 parent a2390c5 commit 446c9d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/uapi/linux/binfmts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ struct pt_regs;
1212
* prevent the kernel from being unduly impacted by misaddressed pointers.
1313
* MAX_ARG_STRINGS is chosen to fit in a signed 32-bit integer.
1414
*/
15-
#define MAX_ARG_STRLEN (PAGE_SIZE * 32)
15+
#define MAX_ARG_STRLEN (PAGE_SIZE * 64)
1616
#define MAX_ARG_STRINGS 0x7FFFFFFF
1717

1818
/* sizeof(linux_binprm->buf) */

0 commit comments

Comments
 (0)