diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-07-16 16:06:14 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-07-16 16:10:00 -0400 |
commit | d9f7bf31d0693b81bddb7e8c57118dd7f78a2952 (patch) | |
tree | 7a1dfc098ccc972153a37a20c7c9c0947615a9d5 /src/alloc.c | |
parent | b00f769d90a75b7fad991f4b6d26f648142c200d (diff) | |
download | bfs-d9f7bf31d0693b81bddb7e8c57118dd7f78a2952.tar.xz |
xspawn: Test the right macro for posix_spawn_..._addfchdir() support
This should have been benign (just a performance regression), but
FreeBSD has a bug that causes the fork()-based fallback to lock up when
ASAN is enabled, due to fork() and dl_iterate_phdr(). This is not a
complete workaround for that issue, since the fork() fallback may be
used for other reasons.
Fixes: 29ddac2 ("config: Check for posix_spawn_file_actions_addfchdir{,_np}()")
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions