2 ms·
Does Linux need explicit support for this? Command line arguments and environment variables are copied to the stack of the new process. I would expect the stack
by matheusmoreira 5y ago
Does Linux need explicit support for this? Command line arguments and environment variables are copied to the stack of the new process. I would expect the stack's size to be the limiting factor.
- jeffbee 5y agoBefore they relaxed it 15 years ago, Linux had a hard limit at 128KiB for args + env on x86. After the change it was variable up to 2MiB. https://github.com/torvalds/linux/commit/b6a2fea39318e43fee84fa7b0b90d68bed92d2ba https://github.com/torvalds/linux/commit/b6a2fea39318e43fee8...