From 5535f144901267ae768a17969b989e2edee7b0a2 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Fri, 24 Sep 2021 15:22:37 -0700 Subject: 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 Signed-off-by: Paul Moore (imported from commit 50da6c1c61c1237cc3af2240b294af66de505018) --- doc/man/man3/seccomp_rule_add.3 | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.1