Thread (4 messages) flat view 4 messages, 4 authors, 2017-03-08

Re: binfmts.h MAX_ARG_STRINGS excessive value allows heap spraying

From: Joseph Myers <hidden>
Date: 2017-03-08 20:47:33

On Wed, 8 Mar 2017, Leonard den Ottolander wrote:
If you don't feel the limit of 4096 arguments is sufficient please
provide us with an example where that limit is insufficient.
mv * /some/where/

(in a directory with many files).

Linking thousands of .o files into a large program or putting them in a .a 
file in a single command.

Constructing a make command line with thousands of -o options to mark 
files as considered to be old (a real case where I ran into the old 128k 
limit when it was there).

There are of course workarounds for these - but "the number of files in 
the source + build trees of a very large project" seems a better way of 
judging limits than 4096.

-- 
Joseph S. Myers
joseph-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help