diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/11-basic-basic_errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/11-basic-basic_errors.c b/tests/11-basic-basic_errors.c index ddd9e38..a41b7b5 100644 --- a/tests/11-basic-basic_errors.c +++ b/tests/11-basic-basic_errors.c @@ -81,7 +81,7 @@ int main(int argc, char *argv[]) return -1; else { rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(read), 0); - if (rc != -EPERM) + if (rc != -EACCES) return -1; rc = seccomp_rule_add(ctx, SCMP_ACT_KILL - 1, SCMP_SYS(read), 0); if (rc != -EINVAL) |