git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'seccomp-v4.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees...
[sfrench/cifs-2.6.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 0683cd543cd5fb634c3fdc6a691d18827cffcfff..67c3e276430363754e8354dfb2bb7f2485a26c66 100644
(file)
--- a/
tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/
tools/testing/selftests/seccomp/seccomp_bpf.c
@@
-161,7
+161,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)