From 819bd46e6b6604de654eca1a21268b0033a874e6 Mon Sep 17 00:00:00 2001 From: Manabu Sugimoto Date: Mon, 10 Jan 2022 08:30:03 -0700 Subject: [PATCH] doc: Correct mistakes in seccomp_attr_set.3 Correct `seccomp_filter_{init,reset}` to `seccomp_{init,reset}` because there is no such function name. Signed-off-by: Manabu Sugimoto Acked-by: Paul Moore Signed-off-by: Tom Hromatka --- doc/man/man3/seccomp_attr_set.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/man/man3/seccomp_attr_set.3 b/doc/man/man3/seccomp_attr_set.3 index 1e7010d9..4341abc9 100644 --- a/doc/man/man3/seccomp_attr_set.3 +++ b/doc/man/man3/seccomp_attr_set.3 @@ -31,9 +31,9 @@ function fetches the filter attributes. The seccomp filter attributes are tunable values that affect how the library behaves when generating and loading the seccomp filter into the kernel. The attributes are reset to their default values whenever the filter is initialized or reset via -.BR seccomp_filter_init (3) +.BR seccomp_init (3) or -.BR seccomp_filter_reset (3). +.BR seccomp_reset (3). .P The filter context .I ctx @@ -46,9 +46,9 @@ values are as follows: .TP .B SCMP_FLTATR_ACT_DEFAULT The default filter action as specified in the call to -.BR seccomp_filter_init (3) +.BR seccomp_init (3) or -.BR seccomp_filter_reset (3). +.BR seccomp_reset (3). This attribute is read-only. .TP .B SCMP_FLTATR_ACT_BADARCH