Skip to content

linux: honor -b when inspecting process files - #403

Open
hja-oss wants to merge 1 commit into
lsof-org:masterfrom
hja-oss:fix/issue-181-avoid-blocking-proc-stat
Open

hja-oss wants to merge 1 commit into
lsof-org:masterfrom
hja-oss:fix/issue-181-avoid-blocking-proc-stat

Conversation

@hja-oss

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

Copy link
Copy Markdown
Contributor

Honor -b when inspecting process file descriptors, cwd, root, executable, and mapped files, even when no NFS mounts are present.

Preserve the normal fast path and keep socket selection working by obtaining socket inodes from proc links without stat().

Fixes #181.

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.

lsof -b may still cause kernel blocks

1 participant