summaryrefslogtreecommitdiff
path: root/doc
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:06:22 -0400
commit50da6c1c61c1237cc3af2240b294af66de505018 (patch)
tree06eec85f9565420f141e8f624b511a654e685015 /doc
parent2457dec1a90101d720e89e8027376742e2f3c327 (diff)
downloadlibseccomp-50da6c1c61c1237cc3af2240b294af66de505018.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>
Diffstat (limited to 'doc')
-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