Skip to content

procfs: enumerate live SysV IPC objects - #915

Closed
brandonpayton wants to merge 1 commit into
fix/procfs-fd-followed-statfrom
fix/procfs-sysvipc-enumeration
Closed

procfs: enumerate live SysV IPC objects#915
brandonpayton wants to merge 1 commit into
fix/procfs-fd-followed-statfrom
fix/procfs-sysvipc-enumeration

Conversation

@brandonpayton

Copy link
Copy Markdown
Member

Summary

  • expose Linux-compatible /proc/sysvipc/msg, sem, and shm snapshots from the authoritative kernel IpcTable
  • preserve truthful procfs inode identity for . and .. across procfs subdirectories
  • cover live queue, semaphore, and shared-memory rows through a real guest on Node and Chromium

Stack

This PR is intentionally based on fix/procfs-fd-followed-stat at 9260b569d, the post-#907 port of #908. Landing order is #907, restacked #908, then this PR. It does not change the ABI and must not be merged before its base.

Validation

  • kernel unit suite: 1,155 passed
  • full Vitest: 1,333 passed, 2 expected failures, 67 skipped
  • focused real guest: Node and Chromium passed
  • Open POSIX: 174 passed, 0 failed, 3 expected failures, 2 skipped
  • Sortix: 5,033 passed, 0 failed, 23 expected failures, 53 skipped
  • libc: 303 passed, 0 failed, 20 expected failures, 1 flaky test passed
  • ABI snapshot/generated bindings check passed
  • pinned Rust 2024 rustfmt and git diff --check passed

Independent devil review found no issues at exact head c8e9d3f7c22fbef4745a628128120ec453e051ae. No merge action requested.

@brandonpayton

Copy link
Copy Markdown
Member Author

Closing because this PR adds the Linux-specific /proc/sysvipc\npresentation rather than required POSIX/XSI IPC semantics.\n\nKandelo retains its existing message-queue, semaphore, and shared-memory\noperations. Ordinary applications use those operations directly and do not\nneed this procfs format. We do not currently have product evidence that a\nbroad software set depends on Linux-style IPC enumeration.\n\nIf the standardized ipcs utility becomes a priority later, it should read\nauthoritative Kandelo kernel state through a deliberately scoped mechanism.\nThat does not require adopting Linux procfs compatibility as a general goal.\n\nThe branch and PR history are retained.

@brandonpayton
brandonpayton deleted the fix/procfs-sysvipc-enumeration branch September 2, 2026 21:10
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