diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-06-28 13:20:29 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-28 12:16:25 +0000 |
| commit | 2081f66ad07722ba9a808fa4f0d2ced2822950f7 (patch) | |
| tree | 4c2f74ff1ee6ba546efbb9dd98f416ed2760cf44 /executor/executor_bsd.h | |
| parent | 30bd3f741301a9ad137b62a686ba1ed2284388c8 (diff) | |
executor: fix max signal/cover filter mapping into subprocesses
There is a quirk related to posix_spawn_file_actions_adddup2:
it just executes the specified dup's in order in the child process.
In our case we do dups as follows:
20 -> 4 (output region)
4 -> 5 (max signal)
So we dup the output region onto 4 first, and then dup the same output region
(fd 4 becomes the output region) onto 5 (max signal).
So we have output region as both output region and max signal.
Diffstat (limited to 'executor/executor_bsd.h')
0 files changed, 0 insertions, 0 deletions
