man/man2/statmount.2: Fix incorrect function signature
PATCH 1/1 man/man2/statmount.2: Fix incorrect function signature
flags argument is an unsigned int not an unsigned long [1].
[1]:
<https://github.com/torvalds/linux/blob/master/fs/namespace.c#L5961>
--- man/man2/statmount.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
man/man2/statmount.2 +1 -1
@@ -16,7 +16,7 @@ Standard C library .P .BI "int syscall(SYS_statmount, struct mnt_id_req *" req , .BI " struct statmount *" smbuf ", size_t " bufsize , -.BI " unsigned long " flags ); +.BI " unsigned int " flags ); .P .B #include <linux/mount.h> .fi
Signature · 1 line
2.53.0
Alejandro Colomar
maintainerHi Bhavik, Josef,
Quoted 7 lines
Date: 2026-08-15 13:15:26+0530
From: Bhavik Sachdev <[email protected]>flags argument is an unsigned int not an unsigned long [1].
[1]:
<https://github.com/torvalds/linux/blob/master/fs/namespace.c#L5961>
Thanks!
Quoted 1 line
Fixes c011cc992510 (2024-07-09; "statmount.2: Add page")
Please CC the people involved in that commit. (I've done it now.)
Quoted 10 lines
Signed-off-by Bhavik Sachdev <[email protected]>--- man/man2/statmount.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man/man2/statmount.2 +0
-0
man/man2/statmount.2 Standard C library · line 19
Quoted 5 lines
man/man2/statmount.2 +1
-1@@ -16,7 +16,7 @@ Standard C library .P .BI "int syscall(SYS_statmount, struct mnt_id_req *" req , .BI " struct statmount *" smbuf ", size_t " bufsize , -.BI " unsigned long " flags ); +.BI " unsigned int " flags );
LGTM.
$ grepc -tfld statmount . | head -n4
./fs/namespace.c:SYSCALL_DEFINE4(statmount, const struct mnt_id_req __user *, req,
struct statmount __user *, buf, size_t, bufsize,
unsigned int, flags)
{Josef, was it just a typo, or is there anything that needs checking?
Have a lovely day!
Alex
Quoted 7 lines
man/man2/statmount.2 +0
-0.P .B #include <linux/mount.h> .fiSignature · 1 line
2.53.0
Signature · 1 line
<https://www.alejandro-colomar.es>
Alejandro Colomar
maintainerHi Bhavik,
Quoted 10 lines
Date: 2026-08-17 11:07:45+0200
From: Alejandro Colomar <[email protected]>Hi Bhavik, Josef,
Quoted 5 lines
Date: 2026-08-15 13:15:26+0530
From: Bhavik Sachdev <[email protected]>flags argument is an unsigned int not an unsigned long [1].
Quoted 10 lines
Quoted 2 lines
[1]:
<https://github.com/torvalds/linux/blob/master/fs/namespace.c#L5961>Thanks!
Quoted 1 line
Fixes c011cc992510 (2024-07-09; "statmount.2: Add page")Please CC the people involved in that commit. (I've done it now.)
Quoted 1 line
Signed-off-by Bhavik Sachdev <[email protected]>
Thanks! I've applied the patch.
Have a lovely day!
Alex
Quoted 40 lines
Quoted 9 lines
--- man/man2/statmount.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man/man2/statmount.2 +0
-0man/man2/statmount.2 Standard C library · line 19
Quoted 5 lines
man/man2/statmount.2 +1
-1@@ -16,7 +16,7 @@ Standard C library .P .BI "int syscall(SYS_statmount, struct mnt_id_req *" req , .BI " struct statmount *" smbuf ", size_t " bufsize , -.BI " unsigned long " flags ); +.BI " unsigned int " flags );LGTM.
$ grepc -tfld statmount . | head -n4 ./fs/namespace.c:SYSCALL_DEFINE4(statmount, const struct mnt_id_req __user *, req, struct statmount __user *, buf, size_t, bufsize, unsigned int, flags) {Josef, was it just a typo, or is there anything that needs checking?
Have a lovely day!
AlexQuoted 7 lines
man/man2/statmount.2 +0
-0.P .B #include <linux/mount.h> .fiSignature · 1 line
2.53.0Signature · 1 line
<https://www.alejandro-colomar.es>
Signature · 1 line
<https://www.alejandro-colomar.es>