jerpelea opened a new pull request, #21222: URL: https://github.com/apache/nuttx/pull/21222
## Summary ARG_MAX was fixed at the POSIX minimum of 4096 bytes, and the argument count of a new task was fixed at 256 in two places (binfmt_copyargv() and nxtask_setup_stackargs()). Programs that build command lines, such as xargs, size them from ARG_MAX, and some programs run commands with more than 256 arguments. This PR adds CONFIG_TASK_ARG_MAX, which sets ARG_MAX, and CONFIG_TASK_MAX_ARGS, which sets the argument count limit in both places. The defaults are the old values, so nothing changes unless a configuration sets them. The first commit fixes the old nxstyle errors in task_setup.c, with no code change. ## Impact RELEASE ## Testing CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
