diff options
author | 2023-08-23 21:34:38 +0000 | |
---|---|---|
committer | 2023-08-23 21:34:38 +0000 | |
commit | 2ad255432b7d06fc3d047ba72e7d510d4270f7fd (patch) | |
tree | 7038250fac9acdc083fbfecec97dcfe5b3812dc1 | |
parent | tests: properly fix fs/kmsg test (diff) | |
download | firejail-2ad255432b7d06fc3d047ba72e7d510d4270f7fd.tar.gz firejail-2ad255432b7d06fc3d047ba72e7d510d4270f7fd.tar.zst firejail-2ad255432b7d06fc3d047ba72e7d510d4270f7fd.zip |
profiles: move ~/.rustup blacklist to disable-programs.inc (#5969)
Which also blacklists ~/.cargo.
Note that ~/.rustup is the only `${HOME}` entry in disable-devel.inc.
Added on commit 8d9b12d1c ("New profiles + fixes + hardening",
2020-09-14).
-rw-r--r-- | etc/inc/allow-common-devel.inc | 1 | ||||
-rw-r--r-- | etc/inc/disable-devel.inc | 1 | ||||
-rw-r--r-- | etc/inc/disable-programs.inc | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/allow-common-devel.inc b/etc/inc/allow-common-devel.inc index 9576239f3..6de1f9c95 100644 --- a/etc/inc/allow-common-devel.inc +++ b/etc/inc/allow-common-devel.inc | |||
@@ -37,3 +37,4 @@ noblacklist ${HOME}/.bundle | |||
37 | 37 | ||
38 | # Rust | 38 | # Rust |
39 | noblacklist ${HOME}/.cargo | 39 | noblacklist ${HOME}/.cargo |
40 | noblacklist ${HOME}/.rustup | ||
diff --git a/etc/inc/disable-devel.inc b/etc/inc/disable-devel.inc index d6a835a64..c13e449cb 100644 --- a/etc/inc/disable-devel.inc +++ b/etc/inc/disable-devel.inc | |||
@@ -92,7 +92,6 @@ blacklist ${PATH}/openssl | |||
92 | blacklist ${PATH}/openssl-1.0 | 92 | blacklist ${PATH}/openssl-1.0 |
93 | 93 | ||
94 | # Rust | 94 | # Rust |
95 | blacklist ${HOME}/.rustup | ||
96 | blacklist ${PATH}/rust-gdb | 95 | blacklist ${PATH}/rust-gdb |
97 | blacklist ${PATH}/rust-lldb | 96 | blacklist ${PATH}/rust-lldb |
98 | blacklist ${PATH}/rustc | 97 | blacklist ${PATH}/rustc |
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 38ab7221e..887f6e4f5 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -1129,6 +1129,7 @@ blacklist ${HOME}/.repo_.gitconfig.json | |||
1129 | blacklist ${HOME}/.repoconfig | 1129 | blacklist ${HOME}/.repoconfig |
1130 | blacklist ${HOME}/.retroshare | 1130 | blacklist ${HOME}/.retroshare |
1131 | blacklist ${HOME}/.ripperXrc | 1131 | blacklist ${HOME}/.ripperXrc |
1132 | blacklist ${HOME}/.rustup | ||
1132 | blacklist ${HOME}/.sbt | 1133 | blacklist ${HOME}/.sbt |
1133 | blacklist ${HOME}/.scorched3d | 1134 | blacklist ${HOME}/.scorched3d |
1134 | blacklist ${HOME}/.scribus | 1135 | blacklist ${HOME}/.scribus |