summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2021-09-24 15:22:37 -0700
committerPaul Moore <paul@paul-moore.com>2021-10-08 11:41:15 -0400
commit5535f144901267ae768a17969b989e2edee7b0a2 (patch)
tree1e2301112e9fb12a22a9041877cbd2978bf8c72e
parent9b07575c31840e2d2c6f810b3c7f854d2a952d77 (diff)
downloadlibseccomp-5535f144901267ae768a17969b989e2edee7b0a2.tar.gz
doc: seccomp_rule_add.3: add -EACCES return value
The -EACCES return value from seccomp_rule_add* was added by commit 83989be02 (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: 83989be02 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com> (imported from commit 50da6c1c61c1237cc3af2240b294af66de505018)
-rw-r--r--doc/man/man3/seccomp_rule_add.35
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/man/man3/seccomp_rule_add.3 b/doc/man/man3/seccomp_rule_add.3
index 3ad80c7..7854a6c 100644
--- a/doc/man/man3/seccomp_rule_add.3
+++ b/doc/man/man3/seccomp_rule_add.3
@@ -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