MAX_ARG_STRLEN too small?

From: Samuel Thibault
Date: Sun Aug 30 2009 - 09:56:58 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/