diff options
| author | Michael Dusan <michael.dusan@gmail.com> | 2023-07-25 21:44:11 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-07-27 10:17:46 -0700 |
| commit | 2dd7c6b268a838d4a130ac2eb88f4267598bb42e (patch) | |
| tree | 420af4c56dc1db2c6816ece9ba60756981b61b21 /lib/std/json/dynamic.zig | |
| parent | e66190025ffab39527da601980b7e3211069b6f5 (diff) | |
| download | zig-2dd7c6b268a838d4a130ac2eb88f4267598bb42e.tar.gz zig-2dd7c6b268a838d4a130ac2eb88f4267598bb42e.zip | |
linux: do not set stack size hard limit
At main startup, if the ELF auxiliary vector contains a stacksize value,
use it as a hint for the minimum stacksize required by the executable.
1. Never lower the hard-limit. Once a hard-limit is lowered, then it can
never be increased (including child processes).
2. If hint exceeds hard-limit then clamp hint to hard-limit.
3. If soft-limit exceeds hint then do nothing.
Diffstat (limited to 'lib/std/json/dynamic.zig')
0 files changed, 0 insertions, 0 deletions
