lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251218230517.244704-1-hi@alyssa.is>
Date: Fri, 19 Dec 2025 00:05:17 +0100
From: Alyssa Ross <hi@...ssa.is>
To: Alejandro Colomar <alx@...nel.org>
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
	linux-man@...r.kernel.org,
	Christian Brauner <brauner@...nel.org>,
	Jan Kara <jack@...e.cz>,
	linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Miklos Szeredi <mszeredi@...hat.com>
Subject: [PATCH] man/man2/statmount.2: document flags argument

Reading the man page for the first time, I assumed the lack of
mentioned flags meant that there weren't any, but I had to check the
kernel source to be sure.  Sure enough:

	if (flags)
		return -EINVAL;

Signed-off-by: Alyssa Ross <hi@...ssa.is>
---
 man/man2/statmount.2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/man/man2/statmount.2 b/man/man2/statmount.2
index 8a83d5e34..cdc96da92 100644
--- a/man/man2/statmount.2
+++ b/man/man2/statmount.2
@@ -68,6 +68,8 @@ The returned buffer is a
 which is of size
 .I bufsize
 with the fields filled in as described below.
+.I flags
+must be 0.
 .P
 (Note that reserved space and padding is omitted.)
 .SS The mnt_id_req structure

base-commit: a5342ef55f0a96790bf279a98c9d2a30b19fc9eb
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ