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

Alejandro Colomar <[email protected]> Sun, 22 Feb 2026 22:52:26 +0100
Newsgroups dev.linux.lists.criu,org.kernel.vger.linux-man
Message-ID <aZt6WFt5uATpgPDY@devuan>
Hi Bhavik,

On 2026-02-22T20:15:50+0530, Bhavik Sachdev wrote:
> 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

I've applied patches 1..6.  They're in a branch:
<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/log/?h=statmount>

I've done some amendments to patches 5 and 6, and the following ones
don't apply anymore.  Would you mind rebasing and sending the rest?


Have a lovely night!
Alex

>   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
> 
> 

-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmmbepoACgkQ64mZXMKQ
wqlm7Q//f2HPHhPPmoO5Sn3sU3L4RmU5J2Uy7vqmglYQUmTX4Ljgq0ljlZm8t/2S
DeHMq5PJgXRKaO7det55O9rwojoDVAUM1wRYFFHDbns77GjFxTHfaNbabfv2Sooi
ubBJnGt80SVB+s7gGBXyc0ffVjRYWd3Bsfv+wtvosoFgN+Nz0oaMo2/3riixygw3
sI9BsA6Vl09WeqLk63jjaQd9AwXvSIYN0amgfqvd8iGl4XAYXqbVwSGO2ATb4nhM
fIp3nnl/p7YhtIdVLYNiUKvGOLWa+pj8DJnu0Uy17xMVblGZxR0AL5M+sUFQa9XF
QGzBgPqB6sk2cFW4dnmBtjcAKvRuNF8hVX7BTLAr2X6PMGMOiivB2CQJNgl6xj3E
MmDQRm2Jxb08RjO14CXDCmp7Ky3GtXbGQWU68YIMmhPbADRnAsLV+UWVmkHh1AeN
q06dMnXvaz4W3G9koIYYDgeoOOMs4EpkBpAnh4d/MD9RpTVgpb/I4g1917hHAzCa
5QlQCSTTl3xuZ9uiC0Lsn7lrqEVCLh8QgeWPirfaYm/ZRuyzGQWmws5FoVOie6+4
8NgnCO8lRfMMJ1DC0PTz85FLlcon9QW2tEWkoA4sVcMickbEx4pA1wpILos5qhAU
t1tIzRCZi8PBGtA5yrjJvLEVfONMZMpEohfSzEx9L0LFZZUFbf0=
=4Eyj
-----END PGP SIGNATURE-----