summaryrefslogtreecommitdiff
path: root/tests/27-sim-bpf_blk_state.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/27-sim-bpf_blk_state.py')
-rwxr-xr-xtests/27-sim-bpf_blk_state.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/27-sim-bpf_blk_state.py b/tests/27-sim-bpf_blk_state.py
index 647c549..ff53ac9 100755
--- a/tests/27-sim-bpf_blk_state.py
+++ b/tests/27-sim-bpf_blk_state.py
@@ -30,19 +30,19 @@ from seccomp import *
def test(args):
f = SyscallFilter(ALLOW)
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 3))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 4))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 5))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 6))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 7))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 8))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 9))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 11))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 12))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 13))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 14))
- f.add_rule_exactly(KILL, "socket", Arg(0, EQ, 15))
- f.add_rule_exactly(KILL, "socket", Arg(0, GE, 16))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 3))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 4))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 5))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 6))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 7))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 8))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 9))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 11))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 12))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 13))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 14))
+ f.add_rule_exactly(KILL, 1000, Arg(0, EQ, 15))
+ f.add_rule_exactly(KILL, 1000, Arg(0, GE, 16))
return f
args = util.get_opt()