mountinfo: add support for listmount(2) / statmount(2)

Open
#139 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go, linux

Research direction

Start with the mountinfo implementation and review the Linux 6.8 listmount(2) and statmount(2) syscall documentation, including the linked man-pages patch set. Determine the existing entry points and tests before deciding how support should replace or complement /proc/mountinfo parsing. Done means the package supports these syscalls where available and behavior is verified on Linux 6.8 or newer.

Written by the indexing model from the issue text.

Description

These new syscalls are available since Linux 6.8, and AFACS make it possible to avoid parsing /proc/mountinfo, which would be a great improvement.

The documentation for these are still being worked on (the last iteration of patch set to man-pages is here).

Dominant language
Go
Stars
101
Forks
61
Avg merge
2d 7h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from moby/sys

All issues in moby/sys

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.