On 2026-11-07 13:48:02, Alejandro Colomar wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
man/man2/mount_setattr.2 | 66 +++++++++-------------------------------
1 file changed, 15 insertions(+), 51 deletions(-)
diff --git a/man/man2/mount_setattr.2 b/man/man2/mount_setattr.2
index 0f4b619d8f38..809fa582e1ad 100644
--- a/man/man2/mount_setattr.2
+++ b/man/man2/mount_setattr.2
@@ -25,34 +25,16 @@ .SH DESCRIPTION
.P
.BR mount_setattr ()
changes the mount properties of a mount or an entire mount tree.
-If
-.I path
-is relative,
-then it is interpreted relative to
-the directory referred to by the file descriptor
-.IR dirfd .
-If
-.I dirfd
-is the special value
-.BR AT_FDCWD ,
-then
-.I path
-is interpreted relative to
-the current working directory of the calling process.
-If
-.I path
-is the empty string and
-.B AT_EMPTY_PATH
-is specified in
-.IR flags ,
-then the mount properties of the mount identified by
-.I dirfd
-are changed.
-(See
-.BR openat (2)
-for an explanation of why the
-.I dirfd
-argument is useful.)
+.P
+.IR dirfd ,
+.IR path ,
+and
+.I flags
+are interpreted as specified in
+.BR at (2),
+but
+.I flags
+accepts some more values (see below).
.P
The
.BR mount_setattr ()
@@ -96,22 +78,14 @@ .SH DESCRIPTION
The
.I flags
argument can be used to alter the pathname resolution behavior.
+Apart from the values specified in
+.BR at (2),
+the following values are supported:
The supported values are:
^^^^^^^^^^^^^^^^^^^^^^^^^
this needs to be removed too
--
- Andrey