aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-07-28 09:33:21 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-07-28 09:33:21 +0200
commit48a97c265e19beed611af44c25f5671c3762ff86 (patch)
tree463a7f291c287bf988c6f753efccccd23c85ba47 /src
parentUpdate etc/templates/syscalls.txt (diff)
downloadfirejail-48a97c265e19beed611af44c25f5671c3762ff86.tar.gz
firejail-48a97c265e19beed611af44c25f5671c3762ff86.tar.zst
firejail-48a97c265e19beed611af44c25f5671c3762ff86.zip
Add support for ignore to profcleaner.sh
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/profcleaner.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/profcleaner.sh b/src/tools/profcleaner.sh
index 709008e08..96402aed6 100755
--- a/src/tools/profcleaner.sh
+++ b/src/tools/profcleaner.sh
@@ -38,8 +38,8 @@ else
38fi 38fi
39 39
40sed -i -E \ 40sed -i -E \
41 -e "s/^(# |#)?blacklist/\1deny/" \ 41 -e "s/^(# |#)?(ignore )?blacklist/\1\2deny/" \
42 -e "s/^(# |#)?noblacklist/\1nodeny/" \ 42 -e "s/^(# |#)?(ignore )?noblacklist/\1\2nodeny/" \
43 -e "s/^(# |#)?whitelist/\1allow/" \ 43 -e "s/^(# |#)?(ignore )?whitelist/\1\2allow/" \
44 -e "s/^(# |#)?nowhitelist/\1noallow/" \ 44 -e "s/^(# |#)?(ignore )?nowhitelist/\1\2noallow/" \
45 "${profiles[@]}" 45 "${profiles[@]}"