diff options
author | 2023-08-25 01:55:52 +0000 | |
---|---|---|
committer | 2023-08-25 01:55:52 +0000 | |
commit | dd5ae0d8f41cb7f054506c8cf373c8b609429d1b (patch) | |
tree | e27c4c7d6c9cf0bb396b9dfa70051c01ccc03c60 | |
parent | profiles: move ~/.rustup blacklist to disable-programs.inc (#5969) (diff) | |
download | firejail-dd5ae0d8f41cb7f054506c8cf373c8b609429d1b.tar.gz firejail-dd5ae0d8f41cb7f054506c8cf373c8b609429d1b.tar.zst firejail-dd5ae0d8f41cb7f054506c8cf373c8b609429d1b.zip |
profiles: patch fixes (#5970)
Commit 3077b2d1f blacklists `${PATH}/patch` in disable-devel.inc[1]. We
need to noblacklist it in the profiles that need it.
[1] https://github.com/netblue30/firejail/commit/3077b2d1ff6c6e26a83487ae460985157b5c61fd
-rw-r--r-- | etc/profile-a-l/ani-cli.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/lobster.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/patch.profile | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/etc/profile-a-l/ani-cli.profile b/etc/profile-a-l/ani-cli.profile index f34f6270b..afd76282c 100644 --- a/etc/profile-a-l/ani-cli.profile +++ b/etc/profile-a-l/ani-cli.profile | |||
@@ -10,6 +10,7 @@ include ani-cli.local | |||
10 | 10 | ||
11 | noblacklist ${HOME}/.cache/ani-cli | 11 | noblacklist ${HOME}/.cache/ani-cli |
12 | noblacklist ${HOME}/.local/state/ani-cli | 12 | noblacklist ${HOME}/.local/state/ani-cli |
13 | noblacklist ${PATH}/patch | ||
13 | 14 | ||
14 | # Allow /bin/sh (blacklisted by disable-shell.inc) | 15 | # Allow /bin/sh (blacklisted by disable-shell.inc) |
15 | include allow-bin-sh.inc | 16 | include allow-bin-sh.inc |
diff --git a/etc/profile-a-l/lobster.profile b/etc/profile-a-l/lobster.profile index 4daa1d010..f9dc4f60c 100644 --- a/etc/profile-a-l/lobster.profile +++ b/etc/profile-a-l/lobster.profile | |||
@@ -17,6 +17,7 @@ noblacklist ${HOME}/.config/ueberzugpp | |||
17 | noblacklist ${HOME}/.local/share/applications/lobster | 17 | noblacklist ${HOME}/.local/share/applications/lobster |
18 | noblacklist ${HOME}/.local/share/lobster | 18 | noblacklist ${HOME}/.local/share/lobster |
19 | noblacklist ${PATH}/openssl | 19 | noblacklist ${PATH}/openssl |
20 | noblacklist ${PATH}/patch | ||
20 | 21 | ||
21 | # Allow /bin/sh (blacklisted by disable-shell.inc) | 22 | # Allow /bin/sh (blacklisted by disable-shell.inc) |
22 | include allow-bin-sh.inc | 23 | include allow-bin-sh.inc |
diff --git a/etc/profile-m-z/patch.profile b/etc/profile-m-z/patch.profile index 5a0f69f79..23e734b43 100644 --- a/etc/profile-m-z/patch.profile +++ b/etc/profile-m-z/patch.profile | |||
@@ -10,6 +10,7 @@ include globals.local | |||
10 | blacklist ${RUNUSER} | 10 | blacklist ${RUNUSER} |
11 | 11 | ||
12 | noblacklist ${DOCUMENTS} | 12 | noblacklist ${DOCUMENTS} |
13 | noblacklist ${PATH}/patch | ||
13 | 14 | ||
14 | include disable-common.inc | 15 | include disable-common.inc |
15 | include disable-devel.inc | 16 | include disable-devel.inc |