All of lore.kernel.org
 help / color / mirror / Atom feed
* MAX_ARG_STRLEN too small?
@ 2009-08-30 13:39 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2009-08-30 13:39 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-30 13:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-30 13:39 MAX_ARG_STRLEN too small? Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.