diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 4 | ||||
-rw-r--r-- | etc/dnscrypt-proxy.profile | 1 | ||||
-rw-r--r-- | etc/dnsmasq.profile | 1 | ||||
-rw-r--r-- | etc/unbound.profile | 1 | ||||
-rw-r--r-- | etc/yandex-browser.profile | 42 |
5 files changed, 49 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 736ac1e89..b833a3f68 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -178,6 +178,8 @@ blacklist ${HOME}/.config/xmms2 | |||
178 | blacklist ${HOME}/.config/xplayer | 178 | blacklist ${HOME}/.config/xplayer |
179 | blacklist ${HOME}/.config/xreader | 179 | blacklist ${HOME}/.config/xreader |
180 | blacklist ${HOME}/.config/xviewer | 180 | blacklist ${HOME}/.config/xviewer |
181 | blacklist ${HOME}/.config/yandex-browser | ||
182 | blacklist ${HOME}/.config/yandex-browser-beta | ||
181 | blacklist ${HOME}/.config/zathura | 183 | blacklist ${HOME}/.config/zathura |
182 | blacklist ${HOME}/.config/zoomus.conf | 184 | blacklist ${HOME}/.config/zoomus.conf |
183 | blacklist ${HOME}/.conkeror.mozdev.org | 185 | blacklist ${HOME}/.conkeror.mozdev.org |
@@ -427,3 +429,5 @@ blacklist ${HOME}/.cache/vivaldi | |||
427 | blacklist ${HOME}/.cache/wesnoth | 429 | blacklist ${HOME}/.cache/wesnoth |
428 | blacklist ${HOME}/.cache/xmms2 | 430 | blacklist ${HOME}/.cache/xmms2 |
429 | blacklist ${HOME}/.cache/xreader | 431 | blacklist ${HOME}/.cache/xreader |
432 | blacklist ${HOME}/.cache/yandex-browser | ||
433 | blacklist ${HOME}/.cache/yandex-browser-beta | ||
diff --git a/etc/dnscrypt-proxy.profile b/etc/dnscrypt-proxy.profile index 0edf815af..a1ccfbe22 100644 --- a/etc/dnscrypt-proxy.profile +++ b/etc/dnscrypt-proxy.profile | |||
@@ -9,6 +9,7 @@ blacklist /tmp/.X11-unix | |||
9 | 9 | ||
10 | noblacklist /sbin | 10 | noblacklist /sbin |
11 | noblacklist /usr/sbin | 11 | noblacklist /usr/sbin |
12 | noblacklist /var/log | ||
12 | 13 | ||
13 | include /etc/firejail/disable-common.inc | 14 | include /etc/firejail/disable-common.inc |
14 | include /etc/firejail/disable-devel.inc | 15 | include /etc/firejail/disable-devel.inc |
diff --git a/etc/dnsmasq.profile b/etc/dnsmasq.profile index e38244ef8..ce159c343 100644 --- a/etc/dnsmasq.profile +++ b/etc/dnsmasq.profile | |||
@@ -9,6 +9,7 @@ blacklist /tmp/.X11-unix | |||
9 | 9 | ||
10 | noblacklist /sbin | 10 | noblacklist /sbin |
11 | noblacklist /usr/sbin | 11 | noblacklist /usr/sbin |
12 | noblacklist /var/log | ||
12 | 13 | ||
13 | include /etc/firejail/disable-common.inc | 14 | include /etc/firejail/disable-common.inc |
14 | include /etc/firejail/disable-devel.inc | 15 | include /etc/firejail/disable-devel.inc |
diff --git a/etc/unbound.profile b/etc/unbound.profile index 3fc2d5d51..afc903e88 100644 --- a/etc/unbound.profile +++ b/etc/unbound.profile | |||
@@ -9,6 +9,7 @@ blacklist /tmp/.X11-unix | |||
9 | 9 | ||
10 | noblacklist /sbin | 10 | noblacklist /sbin |
11 | noblacklist /usr/sbin | 11 | noblacklist /usr/sbin |
12 | noblacklist /var/log | ||
12 | 13 | ||
13 | include /etc/firejail/disable-common.inc | 14 | include /etc/firejail/disable-common.inc |
14 | include /etc/firejail/disable-devel.inc | 15 | include /etc/firejail/disable-devel.inc |
diff --git a/etc/yandex-browser.profile b/etc/yandex-browser.profile new file mode 100644 index 000000000..bfb7b9d87 --- /dev/null +++ b/etc/yandex-browser.profile | |||
@@ -0,0 +1,42 @@ | |||
1 | # Firejail profile for yandex-browser | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/yandex-browser.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | noblacklist ~/.cache/yandex-browser | ||
9 | noblacklist ~/.cache/yandex-browser-beta | ||
10 | noblacklist ~/.config/yandex-browser | ||
11 | noblacklist ~/.config/yandex-browser-beta | ||
12 | noblacklist ~/.pki | ||
13 | |||
14 | include /etc/firejail/disable-common.inc | ||
15 | include /etc/firejail/disable-devel.inc | ||
16 | include /etc/firejail/disable-programs.inc | ||
17 | |||
18 | mkdir ~/.cache/yandex-browser | ||
19 | mkdir ~/.cache/yandex-browser-beta | ||
20 | mkdir ~/.config/yandex-browser | ||
21 | mkdir ~/.config/yandex-browser-beta | ||
22 | mkdir ~/.pki | ||
23 | whitelist ${DOWNLOADS} | ||
24 | whitelist ~/.cache/yandex-browser | ||
25 | whitelist ~/.cache/yandex-browser-beta | ||
26 | whitelist ~/.config/yandex-browser | ||
27 | whitelist ~/.config/yandex-browser-beta | ||
28 | whitelist ~/.pki | ||
29 | include /etc/firejail/whitelist-common.inc | ||
30 | |||
31 | caps.keep sys_chroot,sys_admin | ||
32 | netfilter | ||
33 | nodvd | ||
34 | nogroups | ||
35 | notv | ||
36 | shell none | ||
37 | |||
38 | private-dev | ||
39 | # private-tmp - problems with multiple browser sessions | ||
40 | |||
41 | noexec ${HOME} | ||
42 | noexec /tmp | ||