lkml.org 
[lkml]   [2009]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMAX_ARG_STRLEN too small?
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-08-30 16:09    [W:0.022 / U:18.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site