diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-02-07 18:19:55 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-02-21 07:37:51 +0900 |
commit | 911f8f0183ef723737de3661b1dd042c7b2fcb6e (patch) | |
tree | 3cf14cfced68c9a8b1f25a8079c40d07945b8ca5 /src/test/test-process-util.c | |
parent | a324a8958b06b577f1a82a3a3d5f696add2b1fb4 (diff) | |
download | systemd-911f8f0183ef723737de3661b1dd042c7b2fcb6e.tar.gz |
process-util: rename FORK_NULL_STDIO -> FORK_REARRANGE_STDIO
And make safe_fork_full() takes fds to be assigned to stdio.
Diffstat (limited to 'src/test/test-process-util.c')
-rw-r--r-- | src/test/test-process-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c index 9c24ca8204..9a0c15dffe 100644 --- a/src/test/test-process-util.c +++ b/src/test/test-process-util.c @@ -589,7 +589,7 @@ TEST(safe_fork) { BLOCK_SIGNALS(SIGCHLD); - r = safe_fork("(test-child)", FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_NULL_STDIO|FORK_REOPEN_LOG, &pid); + r = safe_fork("(test-child)", FORK_RESET_SIGNALS|FORK_CLOSE_ALL_FDS|FORK_DEATHSIG|FORK_REARRANGE_STDIO|FORK_REOPEN_LOG, &pid); assert_se(r >= 0); if (r == 0) { |