Skip to content

Commit

Permalink
doc: seccomp_rule_add.3: add -EACCES return value
Browse files Browse the repository at this point in the history
The -EACCES return value from seccomp_rule_add* was added by commit
83989be (included into 2.5.0), which tells that this is "part of our
... API promise", so it needs to be documented accordingly. Add it.

Fixes: 83989be
Signed-off-by: Kir Kolyshkin <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
  • Loading branch information
kolyshkin authored and pcmoore committed Oct 8, 2021
1 parent 2457dec commit 50da6c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/man/man3/seccomp_rule_add.3
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ Architecture specific failure.
.B -EEXIST
The rule already exists.
.TP
.B -EACCCES
The rule conflicts with the filter (for example, the rule
.I action
equals the default action of the filter).
.TP
.B -EFAULT
Internal libseccomp failure.
.TP
Expand Down

0 comments on commit 50da6c1

Please sign in to comment.