[PATCH v2 00/10] man/man2/statmount.2: Document New Features

Bhavik Sachdev <[email protected]> Sun, 22 Feb 2026 20:15:50 +0530
Newsgroups dev.linux.lists.criu,org.kernel.vger.linux-man
Message-ID <[email protected]>
Hello Everyone!

This patchset documents all the new features added to statmount() since
the syscall was first introduced.

I did work on the STATMOUNT_BY_FD changes and I have tried my best to
understand rest of the features and document them.

I have cc'ed the authors of all these new features, please let me know
your thoughts.

This patchset is also available on github [1].

Changes from v1 to v2:

- Appended Linux versions to document in which version new fields were
  introduced.
- Fixed formatting issues and wording problems pointed out by Alex
  during review.
- Reworded STATMOUNT_{UIDMAP,GIDMAP} to better explain the feature.

Changes from RFC to v1:

- Document req.mnt_ns_fd as well.
- Fix all lint errors generated by running
`make -R lint-man man/man2/statmount.2`.

[1]: https://github.com/bsach64/man-pages/tree/man.2.statmount.v2

Bhavik Sachdev (10):
  man/man2/statmount.2: Document req.mnt_ns_id and STATMOUNT_MNT_NS_ID
  man/man2/statmount.2: Document STATMOUNT_MNT_OPTS
  man/man2/statmount.2: Document STATMOUNT_FS_SUBTYPE
  man/man2/statmount.2: Document STATMOUNT_SB_SOURCE
  man/man2/statmount.2: Document STATMOUNT_OPT_ARRAY
  man/man2/statmount.2: Document STATMOUNT_OPT_SEC_ARRAY
  man/man2/statmount.2: Document STATMOUNT_{UIDMAP,GIDMAP}
  man/man2/statmount.2: Document STATMOUNT_SUPPORTED_MASK
  man/man2/statmount.2: Document req.mnt_ns_fd
  man/man2/statmount.2: Document STATMOUNT_BY_FD

 man/man2/statmount.2 | 176 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 172 insertions(+), 4 deletions(-)

-- 
2.53.0