Skip to content

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

Merged
jiegec merged 1 commit into
lsof-org:masterfrom
hja-oss:fix/wait-for-own-helper
Nov 23, 2026
Merged

jiegec merged 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.

@jiegec
jiegec merged commit cb5b2f3 into lsof-org:master Nov 23, 2026
17 checks passed
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.

2 participants