aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2023-08-25 01:55:52 +0000
committerLibravatar GitHub <noreply@github.com>2023-08-25 01:55:52 +0000
commitdd5ae0d8f41cb7f054506c8cf373c8b609429d1b (patch)
treee27c4c7d6c9cf0bb396b9dfa70051c01ccc03c60 /etc
parentprofiles: move ~/.rustup blacklist to disable-programs.inc (#5969) (diff)
downloadfirejail-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
Diffstat (limited to 'etc')
-rw-r--r--etc/profile-a-l/ani-cli.profile1
-rw-r--r--etc/profile-a-l/lobster.profile1
-rw-r--r--etc/profile-m-z/patch.profile1
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
11noblacklist ${HOME}/.cache/ani-cli 11noblacklist ${HOME}/.cache/ani-cli
12noblacklist ${HOME}/.local/state/ani-cli 12noblacklist ${HOME}/.local/state/ani-cli
13noblacklist ${PATH}/patch
13 14
14# Allow /bin/sh (blacklisted by disable-shell.inc) 15# Allow /bin/sh (blacklisted by disable-shell.inc)
15include allow-bin-sh.inc 16include 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
17noblacklist ${HOME}/.local/share/applications/lobster 17noblacklist ${HOME}/.local/share/applications/lobster
18noblacklist ${HOME}/.local/share/lobster 18noblacklist ${HOME}/.local/share/lobster
19noblacklist ${PATH}/openssl 19noblacklist ${PATH}/openssl
20noblacklist ${PATH}/patch
20 21
21# Allow /bin/sh (blacklisted by disable-shell.inc) 22# Allow /bin/sh (blacklisted by disable-shell.inc)
22include allow-bin-sh.inc 23include 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
10blacklist ${RUNUSER} 10blacklist ${RUNUSER}
11 11
12noblacklist ${DOCUMENTS} 12noblacklist ${DOCUMENTS}
13noblacklist ${PATH}/patch
13 14
14include disable-common.inc 15include disable-common.inc
15include disable-devel.inc 16include disable-devel.inc