summaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-11-10 10:08:26 -0500
committerTavian Barnes <tavianator@tavianator.com>2023-11-10 21:13:40 -0500
commite44e07a6bff0dd21a3fb08f28cd161e03360328b (patch)
tree556557d8ab29114a042923c266218ce7437162a4 /src/alloc.c
parent208376ef99da243545efcd6fb02d3469b4c068ed (diff)
downloadbfs-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/alloc.c')
0 files changed, 0 insertions, 0 deletions