summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManabu Sugimoto <Manabu.Sugimoto@sony.com>2022-01-10 08:30:03 -0700
committerTom Hromatka <tom.hromatka@oracle.com>2022-01-10 08:30:40 -0700
commit819bd46e6b6604de654eca1a21268b0033a874e6 (patch)
tree0adf84c8a45378cfa89dad99e06f080220cf3894
parentd1fffa5d62c36e0ec1533b90bf9bcb74109cd488 (diff)
downloadlibseccomp-819bd46e6b6604de654eca1a21268b0033a874e6.tar.gz
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 <Manabu.Sugimoto@sony.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
-rw-r--r--doc/man/man3/seccomp_attr_set.38
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/seccomp_attr_set.3 b/doc/man/man3/seccomp_attr_set.3
index 1e7010d..4341abc 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