-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Currently we leave zombies after udp_rx_push2() and possibly in other places. Reap children in the main loop.
When in daemon mode, close stdin right away. This avoids the need to close stdin in various places after a fork.
Now that we accept random children to exist and exit at any time, use waitpid() instead of wait() when we wait for a specific child somewhere else in the code. This change revealed an error in udp_rx_exec2() which might have executed /sbin/make-automaps redundantly. Fix that. This is not tested or analyzed very much, but udp_rx_exec2() is obsolete and should go away soon anyway.
In two places we used double forks, probably so that we don't need to reap. Now children are reaped in the main loop, so remove the extra forks.
Improve usage string from really ugly to ugly, you are not a designer.
Remove the functions which implemented the obsolete commands `--push` and `--push-amd-tar`.
donald
force-pushed
the
improve-clusterd-security.2
branch
from
January 29, 2025 14:54
66c314e
to
1deebf1
Compare
donald
force-pushed
the
improve-clusterd-security.2
branch
from
January 29, 2025 15:00
1deebf1
to
2c17224
Compare
Sign in
to join this conversation on GitHub.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.