projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selftests: Enhance kselftest_harness.h to print which assert failed
[platform/kernel/linux-rpi.git]
/
tools
/
testing
/
selftests
/
seccomp
/
seccomp_bpf.c
diff --git
a/tools/testing/selftests/seccomp/seccomp_bpf.c
b/tools/testing/selftests/seccomp/seccomp_bpf.c
index
73f5ea6
..
4d6f92a
100644
(file)
--- a/
tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/
tools/testing/selftests/seccomp/seccomp_bpf.c
@@
-107,7
+107,7
@@
TEST(mode_strict_support)
ASSERT_EQ(0, ret) {
TH_LOG("Kernel does not support CONFIG_SECCOMP");
}
- syscall(__NR_exit,
1
);
+ syscall(__NR_exit,
0
);
}
TEST_SIGNAL(mode_strict_cannot_call_prctl, SIGKILL)