diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | etc/aria2c.profile | 1 | ||||
-rw-r--r-- | etc/curl.profile | 2 | ||||
-rw-r--r-- | etc/disable-programs.inc | 13 | ||||
-rw-r--r-- | etc/dnscrypt-proxy.profile | 2 | ||||
-rw-r--r-- | etc/gconf-editor.profile | 5 | ||||
-rw-r--r-- | etc/ocenaudio.profile | 5 | ||||
-rw-r--r-- | etc/pavucontrol-qt.profile | 19 | ||||
-rw-r--r-- | etc/pavucontrol.profile | 11 | ||||
-rw-r--r-- | etc/seahorse-daemon.profile | 2 | ||||
-rw-r--r-- | etc/seahorse.profile | 2 | ||||
-rw-r--r-- | etc/sqlitebrowser.profile | 2 | ||||
-rw-r--r-- | etc/ssh-agent.profile | 1 | ||||
-rw-r--r-- | etc/wget.profile | 2 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
15 files changed, 45 insertions, 25 deletions
@@ -28,7 +28,7 @@ Features: https://firejail.wordpress.com/features-3/ | |||
28 | 28 | ||
29 | Documentation: https://firejail.wordpress.com/documentation-2/ | 29 | Documentation: https://firejail.wordpress.com/documentation-2/ |
30 | 30 | ||
31 | FAQ: https://firejail.wordpress.com/support/ | 31 | FAQ: https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions |
32 | 32 | ||
33 | Wiki: https://github.com/netblue30/firejail/wiki | 33 | Wiki: https://github.com/netblue30/firejail/wiki |
34 | 34 | ||
diff --git a/etc/aria2c.profile b/etc/aria2c.profile index 3b9dfc365..910e52a82 100644 --- a/etc/aria2c.profile +++ b/etc/aria2c.profile | |||
@@ -14,7 +14,6 @@ include disable-exec.inc | |||
14 | include disable-interpreters.inc | 14 | include disable-interpreters.inc |
15 | include disable-passwdmgr.inc | 15 | include disable-passwdmgr.inc |
16 | include disable-programs.inc | 16 | include disable-programs.inc |
17 | # include disable-xdg.inc | ||
18 | 17 | ||
19 | caps.drop all | 18 | caps.drop all |
20 | ipc-namespace | 19 | ipc-namespace |
diff --git a/etc/curl.profile b/etc/curl.profile index d8282b972..d44ce0b96 100644 --- a/etc/curl.profile +++ b/etc/curl.profile | |||
@@ -9,8 +9,6 @@ include globals.local | |||
9 | 9 | ||
10 | noblacklist ${HOME}/.curlrc | 10 | noblacklist ${HOME}/.curlrc |
11 | 11 | ||
12 | blacklist /tmp/.X11-unix | ||
13 | |||
14 | include disable-common.inc | 12 | include disable-common.inc |
15 | include disable-exec.inc | 13 | include disable-exec.inc |
16 | include disable-passwdmgr.inc | 14 | include disable-passwdmgr.inc |
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index b3c83045b..3e6706101 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -254,6 +254,7 @@ blacklist ${HOME}/.config/opera-beta | |||
254 | blacklist ${HOME}/.config/orage | 254 | blacklist ${HOME}/.config/orage |
255 | blacklist ${HOME}/.config/org.kde.gwenviewrc | 255 | blacklist ${HOME}/.config/org.kde.gwenviewrc |
256 | blacklist ${HOME}/.config/pavucontrol.ini | 256 | blacklist ${HOME}/.config/pavucontrol.ini |
257 | blacklist ${HOME}/.config/pavucontrol-qt | ||
257 | blacklist ${HOME}/.config/pcmanfm | 258 | blacklist ${HOME}/.config/pcmanfm |
258 | blacklist ${HOME}/.config/pdfmod | 259 | blacklist ${HOME}/.config/pdfmod |
259 | blacklist ${HOME}/.config/Pinta | 260 | blacklist ${HOME}/.config/Pinta |
@@ -655,6 +656,11 @@ blacklist ${HOME}/.xpdfrc | |||
655 | blacklist ${HOME}/.zoom | 656 | blacklist ${HOME}/.zoom |
656 | blacklist /tmp/akonadi-* | 657 | blacklist /tmp/akonadi-* |
657 | blacklist /tmp/ssh-* | 658 | blacklist /tmp/ssh-* |
659 | blacklist /var/games/nethack | ||
660 | blacklist /var/games/slashem | ||
661 | blacklist /var/games/vulturesclaw | ||
662 | blacklist /var/games/vultureseye | ||
663 | blacklist /var/lib/games/Maelstrom-Scores | ||
658 | 664 | ||
659 | # ${HOME}/.cache directory | 665 | # ${HOME}/.cache directory |
660 | blacklist ${HOME}/.cache/0ad | 666 | blacklist ${HOME}/.cache/0ad |
@@ -704,6 +710,7 @@ blacklist ${HOME}/.cache/INRIA/Natron | |||
704 | blacklist ${HOME}/.cache/inkscape | 710 | blacklist ${HOME}/.cache/inkscape |
705 | blacklist ${HOME}/.cache/inox | 711 | blacklist ${HOME}/.cache/inox |
706 | blacklist ${HOME}/.cache/iridium | 712 | blacklist ${HOME}/.cache/iridium |
713 | blacklist ${HOME}/.cache/kcmshell5 | ||
707 | blacklist ${HOME}/.cache/kdenlive | 714 | blacklist ${HOME}/.cache/kdenlive |
708 | blacklist ${HOME}/.cache/kinfocenter | 715 | blacklist ${HOME}/.cache/kinfocenter |
709 | blacklist ${HOME}/.cache/kmail2 | 716 | blacklist ${HOME}/.cache/kmail2 |
@@ -762,9 +769,3 @@ blacklist ${HOME}/.cache/xmms2 | |||
762 | blacklist ${HOME}/.cache/xreader | 769 | blacklist ${HOME}/.cache/xreader |
763 | blacklist ${HOME}/.cache/yandex-browser | 770 | blacklist ${HOME}/.cache/yandex-browser |
764 | blacklist ${HOME}/.cache/yandex-browser-beta | 771 | blacklist ${HOME}/.cache/yandex-browser-beta |
765 | |||
766 | blacklist /var/games/nethack | ||
767 | blacklist /var/games/slashem | ||
768 | blacklist /var/games/vulturesclaw | ||
769 | blacklist /var/games/vultureseye | ||
770 | blacklist /var/lib/games/Maelstrom-Scores | ||
diff --git a/etc/dnscrypt-proxy.profile b/etc/dnscrypt-proxy.profile index 169b23f5f..c04451373 100644 --- a/etc/dnscrypt-proxy.profile +++ b/etc/dnscrypt-proxy.profile | |||
@@ -9,8 +9,6 @@ include globals.local | |||
9 | noblacklist /sbin | 9 | noblacklist /sbin |
10 | noblacklist /usr/sbin | 10 | noblacklist /usr/sbin |
11 | 11 | ||
12 | blacklist /tmp/.X11-unix | ||
13 | |||
14 | include disable-common.inc | 12 | include disable-common.inc |
15 | include disable-devel.inc | 13 | include disable-devel.inc |
16 | include disable-exec.inc | 14 | include disable-exec.inc |
diff --git a/etc/gconf-editor.profile b/etc/gconf-editor.profile index 1b84bf536..a2c441a20 100644 --- a/etc/gconf-editor.profile +++ b/etc/gconf-editor.profile | |||
@@ -7,5 +7,10 @@ include gconf-editor.local | |||
7 | # added by included profile | 7 | # added by included profile |
8 | #include globals.local | 8 | #include globals.local |
9 | 9 | ||
10 | blacklist /tmp/.X11-unix | ||
11 | |||
12 | ignore net none | ||
13 | ignore x11 none | ||
14 | |||
10 | # Redirect | 15 | # Redirect |
11 | include gconf.profile | 16 | include gconf.profile |
diff --git a/etc/ocenaudio.profile b/etc/ocenaudio.profile index ea89a259f..25e8089ab 100644 --- a/etc/ocenaudio.profile +++ b/etc/ocenaudio.profile | |||
@@ -21,7 +21,9 @@ include disable-xdg.inc | |||
21 | apparmor | 21 | apparmor |
22 | caps.drop all | 22 | caps.drop all |
23 | ipc-namespace | 23 | ipc-namespace |
24 | # net none breaks AppArmor on Ubuntu systems | 24 | # net none - breaks update functionality and AppArmor on Ubuntu systems |
25 | # uncomment (or put 'net none' in your ocenaudio.local) when needed | ||
26 | #net none | ||
25 | netfilter | 27 | netfilter |
26 | no3d | 28 | no3d |
27 | # nodbus - breaks preferences, comment (or put 'ignore nodbus' in your oceanaudio.local) when needed | 29 | # nodbus - breaks preferences, comment (or put 'ignore nodbus' in your oceanaudio.local) when needed |
@@ -38,7 +40,6 @@ seccomp | |||
38 | shell none | 40 | shell none |
39 | tracelog | 41 | tracelog |
40 | 42 | ||
41 | # disable-mnt | ||
42 | private-bin ocenaudio | 43 | private-bin ocenaudio |
43 | private-cache | 44 | private-cache |
44 | private-dev | 45 | private-dev |
diff --git a/etc/pavucontrol-qt.profile b/etc/pavucontrol-qt.profile new file mode 100644 index 000000000..f96ba14d2 --- /dev/null +++ b/etc/pavucontrol-qt.profile | |||
@@ -0,0 +1,19 @@ | |||
1 | # Firejail profile for pavucontrol-qt | ||
2 | # Description: PulseAudio Volume Control [Qt] | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include pavucontrol-qt.local | ||
6 | # Persistent global definitions | ||
7 | # added by included profile | ||
8 | #include globals.local | ||
9 | |||
10 | noblacklist ${HOME}/.config/pavucontrol-qt | ||
11 | |||
12 | mkdir ${HOME}/.config/pavucontrol-qt | ||
13 | whitelist ${HOME}/.config/pavucontrol-qt | ||
14 | |||
15 | private-bin pavucontrol-qt | ||
16 | ignore private-lib | ||
17 | |||
18 | # Redirect | ||
19 | include pavucontrol.profile | ||
diff --git a/etc/pavucontrol.profile b/etc/pavucontrol.profile index 3fd4f3668..621fef49f 100644 --- a/etc/pavucontrol.profile +++ b/etc/pavucontrol.profile | |||
@@ -1,5 +1,5 @@ | |||
1 | # Firejail profile for pavucontrol | 1 | # Firejail profile for pavucontrol |
2 | # Description: PulseAudio Volume Control | 2 | # Description: PulseAudio Volume Control [GTK] |
3 | # This file is overwritten after every install/update | 3 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | 4 | # Persistent local customizations |
5 | include pavucontrol.local | 5 | include pavucontrol.local |
@@ -16,15 +16,14 @@ include disable-passwdmgr.inc | |||
16 | include disable-programs.inc | 16 | include disable-programs.inc |
17 | include disable-xdg.inc | 17 | include disable-xdg.inc |
18 | 18 | ||
19 | mkdir ${HOME}/.config/pavucontrol.ini | 19 | mkfile ${HOME}/.config/pavucontrol.ini |
20 | whitelist ${HOME}/.config/pavucontrol.ini | 20 | whitelist ${HOME}/.config/pavucontrol.ini |
21 | include whitelist-common.inc | 21 | include whitelist-common.inc |
22 | include whitelist-var-common.inc | 22 | include whitelist-var-common.inc |
23 | 23 | ||
24 | apparmor | 24 | apparmor |
25 | caps.drop all | 25 | caps.drop all |
26 | #ipc-namespace | 26 | netfilter |
27 | net none | ||
28 | no3d | 27 | no3d |
29 | nodbus | 28 | nodbus |
30 | nodvd | 29 | nodvd |
@@ -34,7 +33,7 @@ noroot | |||
34 | notv | 33 | notv |
35 | nou2f | 34 | nou2f |
36 | novideo | 35 | novideo |
37 | protocol unix | 36 | protocol unix,inet,inet6 |
38 | seccomp | 37 | seccomp |
39 | shell none | 38 | shell none |
40 | 39 | ||
@@ -42,7 +41,7 @@ disable-mnt | |||
42 | private-bin pavucontrol | 41 | private-bin pavucontrol |
43 | private-cache | 42 | private-cache |
44 | private-dev | 43 | private-dev |
45 | private-etc alternatives,asound.conf,fonts,machine-id,pulse | 44 | private-etc alternatives,asound.conf,avahi,fonts,machine-id,pulse |
46 | private-lib | 45 | private-lib |
47 | private-tmp | 46 | private-tmp |
48 | 47 | ||
diff --git a/etc/seahorse-daemon.profile b/etc/seahorse-daemon.profile index 1beb0edc6..7c0e59c74 100644 --- a/etc/seahorse-daemon.profile +++ b/etc/seahorse-daemon.profile | |||
@@ -7,8 +7,6 @@ include seahorse-daemon.local | |||
7 | # added by included profile | 7 | # added by included profile |
8 | #include globals.local | 8 | #include globals.local |
9 | 9 | ||
10 | blacklist /tmp/.X11-unix | ||
11 | |||
12 | memory-deny-write-execute | 10 | memory-deny-write-execute |
13 | 11 | ||
14 | # Redirect | 12 | # Redirect |
diff --git a/etc/seahorse.profile b/etc/seahorse.profile index a7c95c073..0c824e95b 100644 --- a/etc/seahorse.profile +++ b/etc/seahorse.profile | |||
@@ -6,6 +6,8 @@ include seahorse.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | blacklist /tmp/.X11-unix | ||
10 | |||
9 | noblacklist ${HOME}/.config/dconf | 11 | noblacklist ${HOME}/.config/dconf |
10 | noblacklist ${HOME}/.gnupg | 12 | noblacklist ${HOME}/.gnupg |
11 | noblacklist ${HOME}/.ssh | 13 | noblacklist ${HOME}/.ssh |
diff --git a/etc/sqlitebrowser.profile b/etc/sqlitebrowser.profile index 4758871d3..9cba69a77 100644 --- a/etc/sqlitebrowser.profile +++ b/etc/sqlitebrowser.profile | |||
@@ -42,4 +42,4 @@ private-dev | |||
42 | private-etc alternatives,ca-certificates,crypto-policies,fonts,group,machine-id,passwd,pki,ssl | 42 | private-etc alternatives,ca-certificates,crypto-policies,fonts,group,machine-id,passwd,pki,ssl |
43 | private-tmp | 43 | private-tmp |
44 | 44 | ||
45 | memory-deny-write-execute | 45 | #memory-deny-write-execute - breaks on Arch |
diff --git a/etc/ssh-agent.profile b/etc/ssh-agent.profile index 55df45a87..15e2de9b0 100644 --- a/etc/ssh-agent.profile +++ b/etc/ssh-agent.profile | |||
@@ -27,5 +27,6 @@ notv | |||
27 | protocol unix,inet,inet6 | 27 | protocol unix,inet,inet6 |
28 | seccomp | 28 | seccomp |
29 | shell none | 29 | shell none |
30 | tracelog | ||
30 | 31 | ||
31 | writable-run-user | 32 | writable-run-user |
diff --git a/etc/wget.profile b/etc/wget.profile index 2d5c0c4d6..83ff0bb64 100644 --- a/etc/wget.profile +++ b/etc/wget.profile | |||
@@ -10,8 +10,6 @@ include globals.local | |||
10 | noblacklist ${HOME}/.wget-hsts | 10 | noblacklist ${HOME}/.wget-hsts |
11 | noblacklist ${HOME}/.wgetrc | 11 | noblacklist ${HOME}/.wgetrc |
12 | 12 | ||
13 | blacklist /tmp/.X11-unix | ||
14 | |||
15 | include disable-common.inc | 13 | include disable-common.inc |
16 | include disable-exec.inc | 14 | include disable-exec.inc |
17 | include disable-passwdmgr.inc | 15 | include disable-passwdmgr.inc |
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 10a3340bd..04bf123ad 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -437,6 +437,7 @@ pandoc | |||
437 | parole | 437 | parole |
438 | patch | 438 | patch |
439 | pavucontrol | 439 | pavucontrol |
440 | pavucontrol-qt | ||
440 | pdfchain | 441 | pdfchain |
441 | pdfmod | 442 | pdfmod |
442 | pdfsam | 443 | pdfsam |