Skip to content

lib: wait only for lsof's helper process - #401

Open
hja-oss wants to merge 1 commit into
lsof-org:masterfrom
hja-oss:fix/wait-for-own-helper
Open

hja-oss wants to merge 1 commit into
lsof-org:masterfrom
hja-oss:fix/wait-for-own-helper

Conversation

@hja-oss

@hja-oss hja-oss commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Prevent helper cleanup from reaping unrelated application children.

Use waitpid() with the helper PID instead of wait(), preserving exit statuses for applications embedding liblsof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant