[PATCH v1 08/10] man/man2/statmount.2: Document STATMOUNT_SUPPORTED_MASK
Bhavik Sachdev <[email protected]> Tue, 10 Feb 2026 02:47:41 +0530
| Newsgroups | dev.linux.lists.criu,org.kernel.vger.linux-man |
|---|---|
| Message-ID | <8e4837fd0c7d5869a430b7567ce8d6f090cc7a3c.1770671863.git.b.sachdev1904@gmail.com> |
Document STATMOUNT_SUPPORTED_MASK flag and the corresponding field introduced by it. It is used to determine the flags supported by the current kernel. The text is based on this commit message [1]. Link [1]: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8f6116b5b77b0536d2ad7482ee42bfe58b8fac01> Signed-off-by: Bhavik Sachdev <[email protected]> --- man/man2/statmount.2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man/man2/statmount.2 b/man/man2/statmount.2 index 4da55eb38..0b906a334 100644 --- a/man/man2/statmount.2 +++ b/man/man2/statmount.2 @@ -60,6 +60,7 @@ .SH SYNOPSIS .B " __u32 mnt_uidmap;" .B " __u32 mnt_gidmap_num;" .B " __u32 mnt_gidmap;" +.B " __u64 supported_mask;" .B " char str[];" .B }; .EE @@ -126,6 +127,7 @@ .SS The mnt_id_req structure STATMOUNT_OPT_SEC_ARRAY /* Want/got opt_sec... */ STATMOUNT_MNT_UIDMAP /* Want/got uidmap... */ STATMOUNT_MNT_GIDMAP /* Want/got gidmap... */ +STATMOUNT_SUPPORTED_MASK /* Want/got supported mask flags */ .TE .in .P @@ -333,6 +335,11 @@ .SS The returned information .IR smbuf.mnt_gidmap_num . The whole range of gid mappings must be resolvable in the caller's user namespace. +.TP +.I smbuf.supported_mask +The ORed combination of +.BI STATMOUNT_ * +flags supported by the current kernel. .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and -- 2.53.0