diff options
author | 2021-05-20 21:51:58 +0000 | |
---|---|---|
committer | 2021-05-20 21:51:58 +0000 | |
commit | 8882d658330592c88f9c5d691a30b320b16d8704 (patch) | |
tree | 910cbc2f0764bd8ac9c8fbcaa57a04d2979307cf /etc | |
parent | fixes for eb30ce5 (new profiles) (#4291) (diff) | |
download | firejail-8882d658330592c88f9c5d691a30b320b16d8704.tar.gz firejail-8882d658330592c88f9c5d691a30b320b16d8704.tar.zst firejail-8882d658330592c88f9c5d691a30b320b16d8704.zip |
add support for cargo toml/non-toml files (#4286)
* add support for cargo toml/non-toml files
* add support for cargo toml/non-toml files
* use globbing to blacklist Rust files
See https://github.com/netblue30/firejail/pull/4286#issuecomment-845318446.
* use globbing to blacklist cargo/Rust files
See https://github.com/netblue30/firejail/pull/4286#issuecomment-845318446.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/allow-common-devel.inc | 8 | ||||
-rw-r--r-- | etc/inc/disable-programs.inc | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/etc/inc/allow-common-devel.inc b/etc/inc/allow-common-devel.inc index babe46571..011bbe226 100644 --- a/etc/inc/allow-common-devel.inc +++ b/etc/inc/allow-common-devel.inc | |||
@@ -28,10 +28,4 @@ noblacklist ${HOME}/.python_history | |||
28 | noblacklist ${HOME}/.pythonhist | 28 | noblacklist ${HOME}/.pythonhist |
29 | 29 | ||
30 | # Rust | 30 | # Rust |
31 | noblacklist ${HOME}/.cargo/advisory-db | 31 | noblacklist ${HOME}/.cargo/* |
32 | noblacklist ${HOME}/.cargo/config | ||
33 | noblacklist ${HOME}/.cargo/git | ||
34 | noblacklist ${HOME}/.cargo/registry | ||
35 | noblacklist ${HOME}/.cargo/.crates.toml | ||
36 | noblacklist ${HOME}/.cargo/.crates2.json | ||
37 | noblacklist ${HOME}/.cargo/.package-cache | ||
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index fddd782c2..518587957 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -60,13 +60,7 @@ blacklist ${HOME}/.bitcoin | |||
60 | blacklist ${HOME}/.blobby | 60 | blacklist ${HOME}/.blobby |
61 | blacklist ${HOME}/.bogofilter | 61 | blacklist ${HOME}/.bogofilter |
62 | blacklist ${HOME}/.bzf | 62 | blacklist ${HOME}/.bzf |
63 | blacklist ${HOME}/.cargo/advisory-db | 63 | blacklist ${HOME}/.cargo/* |
64 | blacklist ${HOME}/.cargo/config | ||
65 | blacklist ${HOME}/.cargo/git | ||
66 | blacklist ${HOME}/.cargo/registry | ||
67 | blacklist ${HOME}/.cargo/.crates.toml | ||
68 | blacklist ${HOME}/.cargo/.crates2.json | ||
69 | blacklist ${HOME}/.cargo/.package-cache | ||
70 | blacklist ${HOME}/.claws-mail | 64 | blacklist ${HOME}/.claws-mail |
71 | blacklist ${HOME}/.cliqz | 65 | blacklist ${HOME}/.cliqz |
72 | blacklist ${HOME}/.clonk | 66 | blacklist ${HOME}/.clonk |