diff options
author | 2022-05-31 13:46:33 -0400 | |
---|---|---|
committer | 2022-05-31 13:46:33 -0400 | |
commit | 6b248aae0fd0c41fee3b0d6edf3748270b607df5 (patch) | |
tree | 34649fb4c26c70fffb3a01fe5c202a3ea0a19a1a /etc | |
parent | Merge branch 'master' of ssh://github.com/netblue30/firejail (diff) | |
parent | disable-shell.inc: blacklist /etc/profile (diff) | |
download | firejail-6b248aae0fd0c41fee3b0d6edf3748270b607df5.tar.gz firejail-6b248aae0fd0c41fee3b0d6edf3748270b607df5.tar.zst firejail-6b248aae0fd0c41fee3b0d6edf3748270b607df5.zip |
Merge pull request #5167 from kmk3/mv-sh-profile-blacklist
profiles: move blacklist of /etc/profile.d & blacklist /etc/profile
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-common.inc | 1 | ||||
-rw-r--r-- | etc/inc/disable-shell.inc | 2 | ||||
-rw-r--r-- | etc/profile-a-l/kate.profile | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc index d08ba3646..5918ee640 100644 --- a/etc/inc/disable-common.inc +++ b/etc/inc/disable-common.inc | |||
@@ -261,7 +261,6 @@ blacklist /etc/grub* | |||
261 | blacklist /etc/kernel* | 261 | blacklist /etc/kernel* |
262 | blacklist /etc/logrotate* | 262 | blacklist /etc/logrotate* |
263 | blacklist /etc/modules* | 263 | blacklist /etc/modules* |
264 | blacklist /etc/profile.d | ||
265 | blacklist /etc/rc.local | 264 | blacklist /etc/rc.local |
266 | # rc1.d, rc2.d, ... | 265 | # rc1.d, rc2.d, ... |
267 | blacklist /etc/rc?.d | 266 | blacklist /etc/rc?.d |
diff --git a/etc/inc/disable-shell.inc b/etc/inc/disable-shell.inc index 8274b0215..3f19cdcf9 100644 --- a/etc/inc/disable-shell.inc +++ b/etc/inc/disable-shell.inc | |||
@@ -13,3 +13,5 @@ blacklist ${PATH}/sh | |||
13 | blacklist ${PATH}/tclsh | 13 | blacklist ${PATH}/tclsh |
14 | blacklist ${PATH}/tcsh | 14 | blacklist ${PATH}/tcsh |
15 | blacklist ${PATH}/zsh | 15 | blacklist ${PATH}/zsh |
16 | blacklist /etc/profile | ||
17 | blacklist /etc/profile.d | ||
diff --git a/etc/profile-a-l/kate.profile b/etc/profile-a-l/kate.profile index 9eadaec12..51296408c 100644 --- a/etc/profile-a-l/kate.profile +++ b/etc/profile-a-l/kate.profile | |||
@@ -23,8 +23,8 @@ noblacklist ${HOME}/.local/share/kxmlgui5/kateopenheaderplugin | |||
23 | noblacklist ${HOME}/.local/share/kxmlgui5/katepart | 23 | noblacklist ${HOME}/.local/share/kxmlgui5/katepart |
24 | noblacklist ${HOME}/.local/share/kxmlgui5/kateproject | 24 | noblacklist ${HOME}/.local/share/kxmlgui5/kateproject |
25 | noblacklist ${HOME}/.local/share/kxmlgui5/katesearch | 25 | noblacklist ${HOME}/.local/share/kxmlgui5/katesearch |
26 | noblacklist /etc/profile.d | ||
27 | 26 | ||
27 | # Allows files commonly used by IDEs | ||
28 | include allow-common-devel.inc | 28 | include allow-common-devel.inc |
29 | 29 | ||
30 | include disable-common.inc | 30 | include disable-common.inc |