Skip to content

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

Merged
jiegec merged 1 commit into
lsof-org:masterfrom
hja-oss:fix/issue-181-avoid-blocking-proc-stat
Nov 23, 2026
Merged

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

@jiegec
jiegec force-pushed the fix/issue-181-avoid-blocking-proc-stat branch from a54a5b4 to af4ef1b Compare November 23, 2026 02:16
@jiegec
jiegec merged commit 96a2929 into lsof-org:master Nov 23, 2026
10 of 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.

lsof -b may still cause kernel blocks

2 participants