diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-11-10 10:08:26 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-11-10 21:13:40 -0500 |
commit | e44e07a6bff0dd21a3fb08f28cd161e03360328b (patch) | |
tree | 556557d8ab29114a042923c266218ce7437162a4 /src/expr.h | |
parent | 208376ef99da243545efcd6fb02d3469b4c068ed (diff) | |
download | bfs-e44e07a6bff0dd21a3fb08f28cd161e03360328b.tar.xz |
exec: Don't do setrlimit() in the parent
This was hacky, but it's also broken because it can make posix_spawn()
fail with EMFILE, as happens on at least musl.
Fixes: 7d69fef6a0b80ad57acde7bac8a22b83531fec0d
Link: https://www.austingroupbugs.net/view.php?id=603
Link: https://sourceware.org/bugzilla/show_bug.cgi?id=31049
Diffstat (limited to 'src/expr.h')
0 files changed, 0 insertions, 0 deletions