aboutsummaryrefslogtreecommitdiffstats
path: root/src/fsec-optimize/optimizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsec-optimize/optimizer.c')
-rw-r--r--src/fsec-optimize/optimizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fsec-optimize/optimizer.c b/src/fsec-optimize/optimizer.c
index 8e61935d3..98e4aaa34 100644
--- a/src/fsec-optimize/optimizer.c
+++ b/src/fsec-optimize/optimizer.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (C) 2014-2017 Firejail Authors 2 * Copyright (C) 2014-2018 Firejail Authors
3 * 3 *
4 * This file is part of firejail project 4 * This file is part of firejail project
5 * 5 *
@@ -91,7 +91,7 @@ static int optimize_blacklists(struct sock_filter *filter, int entries) {
91 91
92 // step 3: add the new ret KILL, and recalculate entries 92 // step 3: add the new ret KILL, and recalculate entries
93 filter_step2[j].code = BPF_RET + BPF_K; 93 filter_step2[j].code = BPF_RET + BPF_K;
94 filter_step2[j].k == SECCOMP_RET_KILL; 94 filter_step2[j].k = SECCOMP_RET_KILL;
95 entries = j + 1; 95 entries = j + 1;
96 96
97 // step 4: recalculate jumps 97 // step 4: recalculate jumps