Skip to content

Commit

Permalink
doc: Correct mistakes in seccomp_attr_set.3
Browse files Browse the repository at this point in the history
Correct `seccomp_filter_{init,reset}` to `seccomp_{init,reset}`
because there is no such function name.

Signed-off-by: Manabu Sugimoto <[email protected]>
Acked-by: Paul Moore <[email protected]>
Signed-off-by: Tom Hromatka <[email protected]>
  • Loading branch information
ManaSugi authored and drakenclimber committed Jan 10, 2022
1 parent d1fffa5 commit 819bd46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/man/man3/seccomp_attr_set.3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 819bd46

Please sign in to comment.