Skip to contentSkip to conversation

MAX_ARG_STRLEN too small?

DISCUSSION Samuel Thibault 1 participant 1 message Aug 30, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I wanted to pass edos-debcheck a big list of packages (10000), but exec returns E2BIG, because that reaches MAX_ARG_STRLEN which is (PAGE_SIZE
* 32). Comment says “MAX_ARG_STRLEN is essentially random but serves to prevent the kernel from being unduly impacted by misaddressed pointers.”

Aren't there other ways to avoid the issue and permit not-so-bounded args?

Samuel