projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccc16c7
)
test: use the new action in our tests
author
Lennart Poettering
<lennart@poettering.net>
Mon, 29 Apr 2019 10:04:34 +0000
(12:04 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 24 May 2019 08:48:28 +0000
(10:48 +0200)
This way, we know that it works as intended.
src/test/test-seccomp.c
patch
|
blob
|
history
diff --git
a/src/test/test-seccomp.c
b/src/test/test-seccomp.c
index
9b7307c
..
a906070
100644
(file)
--- a/
src/test/test-seccomp.c
+++ b/
src/test/test-seccomp.c
@@
-635,7
+635,7
@@
static void test_load_syscall_filter_set_raw(void) {
assert_se(access("/", F_OK) >= 0);
assert_se(poll(NULL, 0, 0) == 0);
- assert_se(seccomp_load_syscall_filter_set_raw(SCMP_ACT_ALLOW, NULL,
SCMP_ACT_KILL
, true) >= 0);
+ assert_se(seccomp_load_syscall_filter_set_raw(SCMP_ACT_ALLOW, NULL,
scmp_act_kill_process()
, true) >= 0);
assert_se(access("/", F_OK) >= 0);
assert_se(poll(NULL, 0, 0) == 0);