linux/arch
Ollie Wild b6a2fea393 mm: variable length argument support
Remove the arg+env limit of MAX_ARG_PAGES by copying the strings directly from
the old mm into the new mm.

We create the new mm before the binfmt code runs, and place the new stack at
the very top of the address space.  Once the binfmt code runs and figures out
where the stack should be, we move it downwards.

It is a bit peculiar in that we have one task with two mm's, one of which is
inactive.

[a.p.zijlstra@chello.nl: limit stack size]
Signed-off-by: Ollie Wild <aaw@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: <linux-arch@vger.kernel.org>
Cc: Hugh Dickins <hugh@veritas.com>
[bunk@stusta.de: unexport bprm_mm_init]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:45 -07:00
..
alpha define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
arm define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
arm26 mm: fault feedback #2 2007-07-19 10:04:41 -07:00
avr32 mm: fault feedback #2 2007-07-19 10:04:41 -07:00
blackfin
cris define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
frv define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
h8300 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
i386 use the new percpu interface for shared data 2007-07-19 10:04:45 -07:00
ia64 mm: variable length argument support 2007-07-19 10:04:45 -07:00
m32r define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
m68k mm: fault feedback #2 2007-07-19 10:04:41 -07:00
m68knommu PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
mips define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
parisc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
powerpc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
ppc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
s390 define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sh define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sh64 define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sparc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sparc64 define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
um mm: fault feedback #2 2007-07-19 10:04:41 -07:00
v850 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
x86_64 mm: variable length argument support 2007-07-19 10:04:45 -07:00
xtensa define new percpu interface for shared data 2007-07-19 10:04:44 -07:00