aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-08-18 10:10:52 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-08-18 10:10:52 +0200
commit7b7252ed41ec891716652287eb46b42bd4218b8d (patch)
tree61c2a4a2f81cc2fa218e5758053692bab9e6a3ad
parenta98bd2de563f76452bd5c122cd74d81b26e403cc (diff)
downloadman-pages-7b7252ed41ec891716652287eb46b42bd4218b8d.tar.gz
fanotify_mark.2: Revert cruft added in commit 717c3a7dcf3dcf178af
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/fanotify_mark.250
1 files changed, 0 insertions, 50 deletions
diff --git a/man2/fanotify_mark.2 b/man2/fanotify_mark.2
index d2d9929586..4a5c916cbb 100644
--- a/man2/fanotify_mark.2
+++ b/man2/fanotify_mark.2
@@ -363,56 +363,6 @@ relative to the current working directory.
for an explanation of why the
.I dirfd
argument is useful.)
-.PP
-The
-.BR mount_setattr ()
-system call uses an extensible structure
-.RI ( "struct mount_attr" )
-to allow for future extensions.
-Any non-flag extensions to
-.BR mount_setattr ()
-will be implemented as new fields appended to the this structure,
-with a zero value in a new field resulting in the kernel behaving
-as though that extension field was not present.
-Therefore,
-the caller
-.I must
-zero-fill this structure on initialization.
-See the "Extensibility" subsection under
-.B NOTES
-for more details.
-.PP
-The
-.I size
-argument should usually be specified as
-.IR "sizeof(struct mount_attr)" .
-However, if the caller is using a kernel that supports an extended
-.IR "struct mount_attr" ,
-but the caller does not intend to make use of these features,
-it is possible to pass the size of an earlier
-version of the structure together with the extended structure.
-This allows the kernel to not copy later parts of the structure
-that aren't used anyway.
-With each extension that changes the size of
-.IR "struct mount_attr" ,
-the kernel will expose a definition of the form
-.BI MOUNT_ATTR_SIZE_VER number\c
-\&.
-For example, the macro for the size of the initial version of
-.I struct mount_attr
-is
-.BR MOUNT_ATTR_SIZE_VER0 .
-.PP
-The
-.I flags
-argument can be used to alter the pathname resolution behavior.
-The supported values are:
-.TP
-.B AT_EMPTY_PATH
-If
-.I pathname
-is the empty string,
-change the mount properties on
.SH RETURN VALUE
On success,
.BR fanotify_mark ()