aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckObject.zig
diff options
context:
space:
mode:
authorMichael Dusan <michael.dusan@gmail.com>2023-07-25 21:44:11 -0400
committerAndrew Kelley <andrew@ziglang.org>2023-07-27 10:17:46 -0700
commit2dd7c6b268a838d4a130ac2eb88f4267598bb42e (patch)
tree420af4c56dc1db2c6816ece9ba60756981b61b21 /lib/std/Build/Step/CheckObject.zig
parente66190025ffab39527da601980b7e3211069b6f5 (diff)
downloadzig-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/Build/Step/CheckObject.zig')
0 files changed, 0 insertions, 0 deletions