Skip to content
Snippets Groups Projects
Commit 312a0b1c authored by Warner Losh's avatar Warner Losh Committed by Warner Losh
Browse files

bsd-user: Add system independent stack, data and text limiting


Eliminate the x86 specific stack stuff in favor of more generic control
over the process size:
    target_maxtsiz  max text size
    target_dfldsiz  initial data size limit
    target_maxdsiz  max data size
    target_dflssiz  initial stack size limit
    target_maxssiz  max stack size
    target_sgrowsiz amount to grow stack
These can be set on a per-arch basis, and the stack size can be set
on the command line. Adjust the stack size parameters at startup.

Signed-off-by: default avatarStacey Son <sson@FreeBSD.org>
Signed-off-by: default avatarWarner Losh <imp@bsdimp.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 82792244
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment