From: Michael Kerrisk Date: Sat, 26 Sep 2020 13:18:38 +0000 (+0200) Subject: seccomp.2: Minor edits to Tycho Andersen's patch X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca32a983d86f11faefde3a08edca7d6d213c874;p=thirdparty%2Fman-pages.git seccomp.2: Minor edits to Tycho Andersen's patch Signed-off-by: Michael Kerrisk --- diff --git a/man2/seccomp.2 b/man2/seccomp.2 index e5b5825442..c18bf11ac5 100644 --- a/man2/seccomp.2 +++ b/man2/seccomp.2 @@ -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 ,