Skip to content

darwin: retry full file descriptor lists - #398

Merged
jiegec merged 1 commit into
lsof-org:masterfrom
hja-oss:fix/darwin-fd-list-retry
Nov 17, 2026
Merged

jiegec merged 1 commit into
lsof-org:masterfrom
hja-oss:fix/darwin-fd-list-retry

Conversation

@hja-oss

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

Copy link
Copy Markdown
Contributor

Avoid silently omitting file descriptors on macOS when a process opens more files between the task-info query and descriptor enumeration.

If the descriptor buffer fills, grow it by 32 entries and retry.

@jiegec
jiegec merged commit aedb76e into lsof-org:master Nov 17, 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