]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
seccomp.2: Minor edits to Tycho Andersen's patch
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 26 Sep 2020 13:18:38 +0000 (15:18 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 25 Oct 2020 21:08:30 +0000 (22:08 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/seccomp.2

index e5b5825442d241904224fe1bacbd631ae3c178e1..c18bf11ac536fe6f91b2e6be72aba34b16a577a7 100644 (file)
@@ -249,17 +249,21 @@ must be 0, and
 .IR args
 must be a pointer to an unsigned 32-bit filter return action.
 .TP
-.BR SECCOMP_GET_NOTIF_SIZES " (since Linux 4.21)"
-Get the sizes of the seccomp userspace notification structures. Since the
-structures include a struct seccomp_data which may grow in size, this command
-can be used to determine how much memory to allocate for sending and receiving
-notifications.
+.BR SECCOMP_GET_NOTIF_SIZES " (since Linux 5.0)"
+.\" commit 6a21cc50f0c7f87dae5259f6cfefe024412313f6
+Get the sizes of the seccomp user-space notification structures.
+Since the structures include a
+.I "struct seccomp_data"
+which may grow in size, this command can be used to determine how
+much memory to allocate for sending and receiving notifications.
 .IP
 The value of
 .IR flags
 must be 0, and
 .IR args
-must be a pointer to a struct seccomp_notif_sizes, which looks like:
+must be a pointer to a
+.IR "struct seccomp_notif_sizes" ,
+which has the following form:
 .IP
 .in +4n
 .EX
@@ -270,7 +274,11 @@ struct seccomp_notif_sizes
 };
 .EE
 .in
-.PP
+.IP
+See
+.BR seccomp_user_notif (2)
+for further details.
+.\"
 .SS Filters
 When adding filters via
 .BR SECCOMP_SET_MODE_FILTER ,