On Fri Mar 15 18:50:20 EDT 2013, cinap_len...@gmx.de wrote:
> putting the TSTK above the user stack is what the alpha
> and ppc kernels do. but just looking for a hole in exec
> seems also good. also note that you dont need a whole
> USTKSIZE window. only TSTKSIZ (or spage) window is fine
> for the upper half of the temporary stack because thats
> what exec accesses.

nix doesn't artificially limit the exec args to 4096*100 bytes
as the /sys/src/9 kernel does, so in theory the exec args can
mostly fill the stack.

thanks for looking at the alpha kernel.  that shows that
in theory that approach works.

- erik

Reply via email to