diff options
Diffstat (limited to 'etc')
34 files changed, 305 insertions, 36 deletions
diff --git a/etc/inc/allow-perl.inc b/etc/inc/allow-perl.inc index 5a1952c94..a473900da 100644 --- a/etc/inc/allow-perl.inc +++ b/etc/inc/allow-perl.inc | |||
@@ -10,3 +10,6 @@ noblacklist ${PATH}/vendor_perl | |||
10 | noblacklist /usr/lib/perl* | 10 | noblacklist /usr/lib/perl* |
11 | noblacklist /usr/lib64/perl* | 11 | noblacklist /usr/lib64/perl* |
12 | noblacklist /usr/share/perl* | 12 | noblacklist /usr/share/perl* |
13 | |||
14 | # rxvt is also blacklisted in disable-interpreters.inc | ||
15 | noblacklist ${PATH}/rxvt | ||
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc index b1ec25987..543fc235d 100644 --- a/etc/inc/disable-common.inc +++ b/etc/inc/disable-common.inc | |||
@@ -632,3 +632,6 @@ blacklist ${RUNUSER}/update-notifier.pid | |||
632 | 632 | ||
633 | # tor-browser | 633 | # tor-browser |
634 | blacklist ${HOME}/.local/opt/tor-browser | 634 | blacklist ${HOME}/.local/opt/tor-browser |
635 | |||
636 | # pass utility (pass package in Debian etc.) | ||
637 | blacklist ${HOME}/.password-store | ||
diff --git a/etc/inc/disable-interpreters.inc b/etc/inc/disable-interpreters.inc index 804869e2a..ca43e5ed9 100644 --- a/etc/inc/disable-interpreters.inc +++ b/etc/inc/disable-interpreters.inc | |||
@@ -40,6 +40,15 @@ blacklist /usr/lib/perl* | |||
40 | blacklist /usr/lib64/perl* | 40 | blacklist /usr/lib64/perl* |
41 | blacklist /usr/share/perl* | 41 | blacklist /usr/share/perl* |
42 | 42 | ||
43 | # rxvt needs Perl modules, thus does not work. In particular, blacklisting | ||
44 | # it is needed so that Firefox can run applications with Terminal=true in | ||
45 | # their .desktop file (depending on what is installed). The reason is that | ||
46 | # this is done via glib, which currently uses a hardcoded list of terminal | ||
47 | # emulators: | ||
48 | # https://gitlab.gnome.org/GNOME/glib/-/issues/338 | ||
49 | # And in this list, rxvt comes before xterm. | ||
50 | blacklist ${PATH}/rxvt | ||
51 | |||
43 | # PHP | 52 | # PHP |
44 | blacklist ${PATH}/php* | 53 | blacklist ${PATH}/php* |
45 | blacklist /usr/lib/php* | 54 | blacklist /usr/lib/php* |
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index a13d5a4d3..458565ab3 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -191,8 +191,10 @@ blacklist ${HOME}/.cache/qBittorrent | |||
191 | blacklist ${HOME}/.cache/quodlibet | 191 | blacklist ${HOME}/.cache/quodlibet |
192 | blacklist ${HOME}/.cache/qupzilla | 192 | blacklist ${HOME}/.cache/qupzilla |
193 | blacklist ${HOME}/.cache/qutebrowser | 193 | blacklist ${HOME}/.cache/qutebrowser |
194 | blacklist ${HOME}/.cache/rclone | ||
194 | blacklist ${HOME}/.cache/rednotebook | 195 | blacklist ${HOME}/.cache/rednotebook |
195 | blacklist ${HOME}/.cache/rhythmbox | 196 | blacklist ${HOME}/.cache/rhythmbox |
197 | blacklist ${HOME}/.cache/rpcs3 | ||
196 | blacklist ${HOME}/.cache/shotwell | 198 | blacklist ${HOME}/.cache/shotwell |
197 | blacklist ${HOME}/.cache/simple-scan | 199 | blacklist ${HOME}/.cache/simple-scan |
198 | blacklist ${HOME}/.cache/slimjet | 200 | blacklist ${HOME}/.cache/slimjet |
@@ -215,6 +217,7 @@ blacklist ${HOME}/.cache/vmware | |||
215 | blacklist ${HOME}/.cache/warsow-2.1 | 217 | blacklist ${HOME}/.cache/warsow-2.1 |
216 | blacklist ${HOME}/.cache/waterfox | 218 | blacklist ${HOME}/.cache/waterfox |
217 | blacklist ${HOME}/.cache/wesnoth | 219 | blacklist ${HOME}/.cache/wesnoth |
220 | blacklist ${HOME}/.cache/wine | ||
218 | blacklist ${HOME}/.cache/winetricks | 221 | blacklist ${HOME}/.cache/winetricks |
219 | blacklist ${HOME}/.cache/xmms2 | 222 | blacklist ${HOME}/.cache/xmms2 |
220 | blacklist ${HOME}/.cache/xournalpp | 223 | blacklist ${HOME}/.cache/xournalpp |
@@ -232,6 +235,7 @@ blacklist ${HOME}/.clion* | |||
232 | blacklist ${HOME}/.cliqz | 235 | blacklist ${HOME}/.cliqz |
233 | blacklist ${HOME}/.clonk | 236 | blacklist ${HOME}/.clonk |
234 | blacklist ${HOME}/.config/0ad | 237 | blacklist ${HOME}/.config/0ad |
238 | blacklist ${HOME}/.config/1Password | ||
235 | blacklist ${HOME}/.config/2048-qt | 239 | blacklist ${HOME}/.config/2048-qt |
236 | blacklist ${HOME}/.config/Atom | 240 | blacklist ${HOME}/.config/Atom |
237 | blacklist ${HOME}/.config/Audaciousrc | 241 | blacklist ${HOME}/.config/Audaciousrc |
@@ -277,6 +281,7 @@ blacklist ${HOME}/.config/KeePass | |||
277 | blacklist ${HOME}/.config/KeePassXCrc | 281 | blacklist ${HOME}/.config/KeePassXCrc |
278 | blacklist ${HOME}/.config/Kid3 | 282 | blacklist ${HOME}/.config/Kid3 |
279 | blacklist ${HOME}/.config/Kingsoft | 283 | blacklist ${HOME}/.config/Kingsoft |
284 | blacklist ${HOME}/.config/Ledger Live | ||
280 | blacklist ${HOME}/.config/LibreCAD | 285 | blacklist ${HOME}/.config/LibreCAD |
281 | blacklist ${HOME}/.config/Loop_Hero | 286 | blacklist ${HOME}/.config/Loop_Hero |
282 | blacklist ${HOME}/.config/Luminance | 287 | blacklist ${HOME}/.config/Luminance |
@@ -378,6 +383,7 @@ blacklist ${HOME}/.config/chromium-flags.conf | |||
378 | blacklist ${HOME}/.config/clipit | 383 | blacklist ${HOME}/.config/clipit |
379 | blacklist ${HOME}/.config/cliqz | 384 | blacklist ${HOME}/.config/cliqz |
380 | blacklist ${HOME}/.config/cmus | 385 | blacklist ${HOME}/.config/cmus |
386 | blacklist ${HOME}/.config/cointop | ||
381 | blacklist ${HOME}/.config/com.github.bleakgrey.tootle | 387 | blacklist ${HOME}/.config/com.github.bleakgrey.tootle |
382 | blacklist ${HOME}/.config/corebird | 388 | blacklist ${HOME}/.config/corebird |
383 | blacklist ${HOME}/.config/cower | 389 | blacklist ${HOME}/.config/cower |
@@ -571,10 +577,12 @@ blacklist ${HOME}/.config/quodlibet | |||
571 | blacklist ${HOME}/.config/qupzilla | 577 | blacklist ${HOME}/.config/qupzilla |
572 | blacklist ${HOME}/.config/qutebrowser | 578 | blacklist ${HOME}/.config/qutebrowser |
573 | blacklist ${HOME}/.config/ranger | 579 | blacklist ${HOME}/.config/ranger |
580 | blacklist ${HOME}/.config/rclone | ||
574 | blacklist ${HOME}/.config/redshift | 581 | blacklist ${HOME}/.config/redshift |
575 | blacklist ${HOME}/.config/redshift.conf | 582 | blacklist ${HOME}/.config/redshift.conf |
576 | blacklist ${HOME}/.config/remmina | 583 | blacklist ${HOME}/.config/remmina |
577 | blacklist ${HOME}/.config/ristretto | 584 | blacklist ${HOME}/.config/ristretto |
585 | blacklist ${HOME}/.config/rpcs3 | ||
578 | blacklist ${HOME}/.config/rtv | 586 | blacklist ${HOME}/.config/rtv |
579 | blacklist ${HOME}/.config/scribus | 587 | blacklist ${HOME}/.config/scribus |
580 | blacklist ${HOME}/.config/scribusrc | 588 | blacklist ${HOME}/.config/scribusrc |
@@ -616,6 +624,7 @@ blacklist ${HOME}/.config/vivaldi | |||
616 | blacklist ${HOME}/.config/vivaldi-snapshot | 624 | blacklist ${HOME}/.config/vivaldi-snapshot |
617 | blacklist ${HOME}/.config/vlc | 625 | blacklist ${HOME}/.config/vlc |
618 | blacklist ${HOME}/.config/wesnoth | 626 | blacklist ${HOME}/.config/wesnoth |
627 | blacklist ${HOME}/.config/wget | ||
619 | blacklist ${HOME}/.config/wireshark | 628 | blacklist ${HOME}/.config/wireshark |
620 | blacklist ${HOME}/.config/wormux | 629 | blacklist ${HOME}/.config/wormux |
621 | blacklist ${HOME}/.config/xchat | 630 | blacklist ${HOME}/.config/xchat |
@@ -976,6 +985,7 @@ blacklist ${HOME}/.local/share/vlc | |||
976 | blacklist ${HOME}/.local/share/vpltd | 985 | blacklist ${HOME}/.local/share/vpltd |
977 | blacklist ${HOME}/.local/share/vulkan | 986 | blacklist ${HOME}/.local/share/vulkan |
978 | blacklist ${HOME}/.local/share/warsow-2.1 | 987 | blacklist ${HOME}/.local/share/warsow-2.1 |
988 | blacklist ${HOME}/.local/share/warzone2100-3.* | ||
979 | blacklist ${HOME}/.local/share/wesnoth | 989 | blacklist ${HOME}/.local/share/wesnoth |
980 | blacklist ${HOME}/.local/share/wormux | 990 | blacklist ${HOME}/.local/share/wormux |
981 | blacklist ${HOME}/.local/share/xplayer | 991 | blacklist ${HOME}/.local/share/xplayer |
@@ -1029,7 +1039,6 @@ blacklist ${HOME}/.opera-beta | |||
1029 | blacklist ${HOME}/.ostrichriders | 1039 | blacklist ${HOME}/.ostrichriders |
1030 | blacklist ${HOME}/.paradoxinteractive | 1040 | blacklist ${HOME}/.paradoxinteractive |
1031 | blacklist ${HOME}/.parallelrealities/blobwars | 1041 | blacklist ${HOME}/.parallelrealities/blobwars |
1032 | blacklist ${HOME}/.password-store | ||
1033 | blacklist ${HOME}/.pcsxr | 1042 | blacklist ${HOME}/.pcsxr |
1034 | blacklist ${HOME}/.penguin-command | 1043 | blacklist ${HOME}/.penguin-command |
1035 | blacklist ${HOME}/.pine-crash | 1044 | blacklist ${HOME}/.pine-crash |
@@ -1136,6 +1145,7 @@ blacklist ${HOME}/wallet.dat | |||
1136 | blacklist ${HOME}/yt-dlp.conf | 1145 | blacklist ${HOME}/yt-dlp.conf |
1137 | blacklist ${HOME}/yt-dlp.conf.txt | 1146 | blacklist ${HOME}/yt-dlp.conf.txt |
1138 | blacklist ${RUNUSER}/*firefox* | 1147 | blacklist ${RUNUSER}/*firefox* |
1148 | blacklist ${RUNUSER}/akonadi | ||
1139 | blacklist /tmp/.wine-* | 1149 | blacklist /tmp/.wine-* |
1140 | blacklist /tmp/akonadi-* | 1150 | blacklist /tmp/akonadi-* |
1141 | blacklist /var/games/nethack | 1151 | blacklist /var/games/nethack |
diff --git a/etc/profile-a-l/1password.profile b/etc/profile-a-l/1password.profile new file mode 100644 index 000000000..bc8bfae0d --- /dev/null +++ b/etc/profile-a-l/1password.profile | |||
@@ -0,0 +1,20 @@ | |||
1 | # Firejail profile for 1password | ||
2 | # Description: 1Password is a password manager developed by AgileBits Inc. | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include 1password.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/1Password | ||
10 | |||
11 | mkdir ${HOME}/.config/1Password | ||
12 | whitelist ${HOME}/.config/1Password | ||
13 | |||
14 | private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id,nsswitch.conf,pki,resolv.conf,ssl | ||
15 | |||
16 | # Needed for keychain things, talking to Firefox, possibly other things? Not sure how to narrow down | ||
17 | ignore dbus-user none | ||
18 | |||
19 | # Redirect | ||
20 | include electron.profile | ||
diff --git a/etc/profile-a-l/akonadi_control.profile b/etc/profile-a-l/akonadi_control.profile index f3fb678d1..2f58d9146 100644 --- a/etc/profile-a-l/akonadi_control.profile +++ b/etc/profile-a-l/akonadi_control.profile | |||
@@ -17,6 +17,7 @@ noblacklist ${HOME}/.local/share/apps/korganizer | |||
17 | noblacklist ${HOME}/.local/share/contacts | 17 | noblacklist ${HOME}/.local/share/contacts |
18 | noblacklist ${HOME}/.local/share/local-mail | 18 | noblacklist ${HOME}/.local/share/local-mail |
19 | noblacklist ${HOME}/.local/share/notes | 19 | noblacklist ${HOME}/.local/share/notes |
20 | noblacklist ${RUNUSER}/akonadi | ||
20 | noblacklist /sbin | 21 | noblacklist /sbin |
21 | noblacklist /tmp/akonadi-* | 22 | noblacklist /tmp/akonadi-* |
22 | noblacklist /usr/sbin | 23 | noblacklist /usr/sbin |
diff --git a/etc/profile-a-l/chromium-common.profile b/etc/profile-a-l/chromium-common.profile index 2992a2d6f..998ffd9da 100644 --- a/etc/profile-a-l/chromium-common.profile +++ b/etc/profile-a-l/chromium-common.profile | |||
@@ -9,8 +9,8 @@ include chromium-common.local | |||
9 | # noexec ${HOME} breaks DRM binaries. | 9 | # noexec ${HOME} breaks DRM binaries. |
10 | ?BROWSER_ALLOW_DRM: ignore noexec ${HOME} | 10 | ?BROWSER_ALLOW_DRM: ignore noexec ${HOME} |
11 | 11 | ||
12 | noblacklist ${HOME}/.pki | ||
13 | noblacklist ${HOME}/.local/share/pki | 12 | noblacklist ${HOME}/.local/share/pki |
13 | noblacklist ${HOME}/.pki | ||
14 | noblacklist /usr/lib/chromium/chrome-sandbox | 14 | noblacklist /usr/lib/chromium/chrome-sandbox |
15 | 15 | ||
16 | # Add the next line to your chromium-common.local if you want Google Chrome/Chromium browser | 16 | # Add the next line to your chromium-common.local if you want Google Chrome/Chromium browser |
@@ -24,11 +24,13 @@ include disable-interpreters.inc | |||
24 | include disable-programs.inc | 24 | include disable-programs.inc |
25 | include disable-xdg.inc | 25 | include disable-xdg.inc |
26 | 26 | ||
27 | mkdir ${HOME}/.pki | ||
28 | mkdir ${HOME}/.local/share/pki | 27 | mkdir ${HOME}/.local/share/pki |
28 | mkdir ${HOME}/.pki | ||
29 | whitelist ${DOWNLOADS} | 29 | whitelist ${DOWNLOADS} |
30 | whitelist ${HOME}/.pki | ||
31 | whitelist ${HOME}/.local/share/pki | 30 | whitelist ${HOME}/.local/share/pki |
31 | whitelist ${HOME}/.pki | ||
32 | whitelist /usr/share/mozilla/extensions | ||
33 | whitelist /usr/share/webext | ||
32 | include whitelist-common.inc | 34 | include whitelist-common.inc |
33 | include whitelist-run-common.inc | 35 | include whitelist-run-common.inc |
34 | include whitelist-runuser-common.inc | 36 | include whitelist-runuser-common.inc |
@@ -55,6 +57,7 @@ private-cache | |||
55 | 57 | ||
56 | blacklist ${PATH}/curl | 58 | blacklist ${PATH}/curl |
57 | blacklist ${PATH}/wget | 59 | blacklist ${PATH}/wget |
60 | blacklist ${PATH}/wget2 | ||
58 | 61 | ||
59 | #dbus-user none - prevents access to passwords saved in GNOME Keyring and KWallet, also breaks Gnome connector. | 62 | #dbus-user none - prevents access to passwords saved in GNOME Keyring and KWallet, also breaks Gnome connector. |
60 | dbus-system none | 63 | dbus-system none |
diff --git a/etc/profile-a-l/chromium.profile b/etc/profile-a-l/chromium.profile index 9ac33aa1c..14f1bbe64 100644 --- a/etc/profile-a-l/chromium.profile +++ b/etc/profile-a-l/chromium.profile | |||
@@ -16,7 +16,6 @@ whitelist ${HOME}/.cache/chromium | |||
16 | whitelist ${HOME}/.config/chromium | 16 | whitelist ${HOME}/.config/chromium |
17 | whitelist ${HOME}/.config/chromium-flags.conf | 17 | whitelist ${HOME}/.config/chromium-flags.conf |
18 | whitelist /usr/share/chromium | 18 | whitelist /usr/share/chromium |
19 | whitelist /usr/share/mozilla/extensions | ||
20 | 19 | ||
21 | # private-bin chromium,chromium-browser,chromedriver | 20 | # private-bin chromium,chromium-browser,chromedriver |
22 | 21 | ||
diff --git a/etc/profile-a-l/cointop.profile b/etc/profile-a-l/cointop.profile new file mode 100644 index 000000000..4349f58fc --- /dev/null +++ b/etc/profile-a-l/cointop.profile | |||
@@ -0,0 +1,63 @@ | |||
1 | # Firejail profile for cointop | ||
2 | # Description: TUI for tracking cryptocurrency stats | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include cointop.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/cointop | ||
10 | |||
11 | blacklist ${RUNUSER} | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-proc.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-shell.inc | ||
20 | include disable-X11.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | mkdir ${HOME}/.config/cointop | ||
24 | whitelist ${HOME}/.config/cointop | ||
25 | include whitelist-common.inc | ||
26 | include whitelist-runuser-common.inc | ||
27 | include whitelist-usr-share-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | apparmor | ||
31 | caps.drop all | ||
32 | ipc-namespace | ||
33 | machine-id | ||
34 | netfilter | ||
35 | no3d | ||
36 | nodvd | ||
37 | nogroups | ||
38 | noinput | ||
39 | nonewprivs | ||
40 | noprinters | ||
41 | noroot | ||
42 | nosound | ||
43 | notv | ||
44 | nou2f | ||
45 | novideo | ||
46 | protocol inet,inet6 | ||
47 | seccomp | ||
48 | seccomp.block-secondary | ||
49 | shell none | ||
50 | tracelog | ||
51 | |||
52 | disable-mnt | ||
53 | private-bin cointop | ||
54 | private-cache | ||
55 | private-dev | ||
56 | private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl | ||
57 | private-lib | ||
58 | private-tmp | ||
59 | |||
60 | dbus-user none | ||
61 | dbus-system none | ||
62 | |||
63 | memory-deny-write-execute | ||
diff --git a/etc/profile-a-l/ephemeral.profile b/etc/profile-a-l/ephemeral.profile index 131d68951..f88c64b23 100644 --- a/etc/profile-a-l/ephemeral.profile +++ b/etc/profile-a-l/ephemeral.profile | |||
@@ -9,8 +9,8 @@ include globals.local | |||
9 | # enforce private-cache | 9 | # enforce private-cache |
10 | #noblacklist ${HOME}/.cache/ephemeral | 10 | #noblacklist ${HOME}/.cache/ephemeral |
11 | 11 | ||
12 | noblacklist ${HOME}/.pki | ||
13 | noblacklist ${HOME}/.local/share/pki | 12 | noblacklist ${HOME}/.local/share/pki |
13 | noblacklist ${HOME}/.pki | ||
14 | 14 | ||
15 | # noexec ${HOME} breaks DRM binaries. | 15 | # noexec ${HOME} breaks DRM binaries. |
16 | ?BROWSER_ALLOW_DRM: ignore noexec ${HOME} | 16 | ?BROWSER_ALLOW_DRM: ignore noexec ${HOME} |
@@ -23,12 +23,12 @@ include disable-programs.inc | |||
23 | 23 | ||
24 | # enforce private-cache | 24 | # enforce private-cache |
25 | #mkdir ${HOME}/.cache/ephemeral | 25 | #mkdir ${HOME}/.cache/ephemeral |
26 | mkdir ${HOME}/.pki | ||
27 | mkdir ${HOME}/.local/share/pki | 26 | mkdir ${HOME}/.local/share/pki |
27 | mkdir ${HOME}/.pki | ||
28 | # enforce private-cache | 28 | # enforce private-cache |
29 | #whitelist ${HOME}/.cache/ephemeral | 29 | #whitelist ${HOME}/.cache/ephemeral |
30 | whitelist ${HOME}/.pki | ||
31 | whitelist ${HOME}/.local/share/pki | 30 | whitelist ${HOME}/.local/share/pki |
31 | whitelist ${HOME}/.pki | ||
32 | whitelist ${DOWNLOADS} | 32 | whitelist ${DOWNLOADS} |
33 | include whitelist-common.inc | 33 | include whitelist-common.inc |
34 | include whitelist-usr-share-common.inc | 34 | include whitelist-usr-share-common.inc |
diff --git a/etc/profile-a-l/ferdi.profile b/etc/profile-a-l/ferdi.profile index a2372ec8a..b6f69ccb9 100644 --- a/etc/profile-a-l/ferdi.profile +++ b/etc/profile-a-l/ferdi.profile | |||
@@ -9,8 +9,8 @@ ignore noexec /tmp | |||
9 | 9 | ||
10 | noblacklist ${HOME}/.cache/Ferdi | 10 | noblacklist ${HOME}/.cache/Ferdi |
11 | noblacklist ${HOME}/.config/Ferdi | 11 | noblacklist ${HOME}/.config/Ferdi |
12 | noblacklist ${HOME}/.pki | ||
13 | noblacklist ${HOME}/.local/share/pki | 12 | noblacklist ${HOME}/.local/share/pki |
13 | noblacklist ${HOME}/.pki | ||
14 | 14 | ||
15 | include disable-common.inc | 15 | include disable-common.inc |
16 | include disable-devel.inc | 16 | include disable-devel.inc |
@@ -20,13 +20,13 @@ include disable-programs.inc | |||
20 | 20 | ||
21 | mkdir ${HOME}/.cache/Ferdi | 21 | mkdir ${HOME}/.cache/Ferdi |
22 | mkdir ${HOME}/.config/Ferdi | 22 | mkdir ${HOME}/.config/Ferdi |
23 | mkdir ${HOME}/.pki | ||
24 | mkdir ${HOME}/.local/share/pki | 23 | mkdir ${HOME}/.local/share/pki |
24 | mkdir ${HOME}/.pki | ||
25 | whitelist ${DOWNLOADS} | 25 | whitelist ${DOWNLOADS} |
26 | whitelist ${HOME}/.cache/Ferdi | 26 | whitelist ${HOME}/.cache/Ferdi |
27 | whitelist ${HOME}/.config/Ferdi | 27 | whitelist ${HOME}/.config/Ferdi |
28 | whitelist ${HOME}/.pki | ||
29 | whitelist ${HOME}/.local/share/pki | 28 | whitelist ${HOME}/.local/share/pki |
29 | whitelist ${HOME}/.pki | ||
30 | include whitelist-common.inc | 30 | include whitelist-common.inc |
31 | 31 | ||
32 | caps.drop all | 32 | caps.drop all |
diff --git a/etc/profile-a-l/firefox-common.profile b/etc/profile-a-l/firefox-common.profile index e7d438b46..373f41ffe 100644 --- a/etc/profile-a-l/firefox-common.profile +++ b/etc/profile-a-l/firefox-common.profile | |||
@@ -12,8 +12,8 @@ include firefox-common.local | |||
12 | # Add the next line to your firefox-common.local to allow access to common programs/addons/plugins. | 12 | # Add the next line to your firefox-common.local to allow access to common programs/addons/plugins. |
13 | #include firefox-common-addons.profile | 13 | #include firefox-common-addons.profile |
14 | 14 | ||
15 | noblacklist ${HOME}/.pki | ||
16 | noblacklist ${HOME}/.local/share/pki | 15 | noblacklist ${HOME}/.local/share/pki |
16 | noblacklist ${HOME}/.pki | ||
17 | 17 | ||
18 | include disable-common.inc | 18 | include disable-common.inc |
19 | include disable-devel.inc | 19 | include disable-devel.inc |
@@ -22,11 +22,11 @@ include disable-interpreters.inc | |||
22 | include disable-proc.inc | 22 | include disable-proc.inc |
23 | include disable-programs.inc | 23 | include disable-programs.inc |
24 | 24 | ||
25 | mkdir ${HOME}/.pki | ||
26 | mkdir ${HOME}/.local/share/pki | 25 | mkdir ${HOME}/.local/share/pki |
26 | mkdir ${HOME}/.pki | ||
27 | whitelist ${DOWNLOADS} | 27 | whitelist ${DOWNLOADS} |
28 | whitelist ${HOME}/.pki | ||
29 | whitelist ${HOME}/.local/share/pki | 28 | whitelist ${HOME}/.local/share/pki |
29 | whitelist ${HOME}/.pki | ||
30 | include whitelist-common.inc | 30 | include whitelist-common.inc |
31 | include whitelist-run-common.inc | 31 | include whitelist-run-common.inc |
32 | include whitelist-runuser-common.inc | 32 | include whitelist-runuser-common.inc |
@@ -61,6 +61,7 @@ private-tmp | |||
61 | 61 | ||
62 | blacklist ${PATH}/curl | 62 | blacklist ${PATH}/curl |
63 | blacklist ${PATH}/wget | 63 | blacklist ${PATH}/wget |
64 | blacklist ${PATH}/wget2 | ||
64 | 65 | ||
65 | # 'dbus-user none' breaks various desktop integration features like global menus, native notifications, | 66 | # 'dbus-user none' breaks various desktop integration features like global menus, native notifications, |
66 | # Gnome connector, KDE connect and power management on KDE Plasma. | 67 | # Gnome connector, KDE connect and power management on KDE Plasma. |
diff --git a/etc/profile-a-l/firefox-developer-edition.profile b/etc/profile-a-l/firefox-developer-edition.profile index 8c7ca3887..3a9b8cf92 100644 --- a/etc/profile-a-l/firefox-developer-edition.profile +++ b/etc/profile-a-l/firefox-developer-edition.profile | |||
@@ -7,5 +7,9 @@ include firefox-developer-edition.local | |||
7 | # added by included profile | 7 | # added by included profile |
8 | #include globals.local | 8 | #include globals.local |
9 | 9 | ||
10 | # Edition-specific DBus filters | ||
11 | dbus-user.own org.mozilla.FirefoxDeveloperEdition.* | ||
12 | dbus-user.own org.mozilla.firefoxdeveloperedition.* | ||
13 | |||
10 | # Redirect | 14 | # Redirect |
11 | include firefox.profile | 15 | include firefox.profile |
diff --git a/etc/profile-a-l/franz.profile b/etc/profile-a-l/franz.profile index 9b780a572..b16c90caf 100644 --- a/etc/profile-a-l/franz.profile +++ b/etc/profile-a-l/franz.profile | |||
@@ -9,8 +9,8 @@ ignore noexec /tmp | |||
9 | 9 | ||
10 | noblacklist ${HOME}/.cache/Franz | 10 | noblacklist ${HOME}/.cache/Franz |
11 | noblacklist ${HOME}/.config/Franz | 11 | noblacklist ${HOME}/.config/Franz |
12 | noblacklist ${HOME}/.pki | ||
13 | noblacklist ${HOME}/.local/share/pki | 12 | noblacklist ${HOME}/.local/share/pki |
13 | noblacklist ${HOME}/.pki | ||
14 | 14 | ||
15 | include disable-common.inc | 15 | include disable-common.inc |
16 | include disable-devel.inc | 16 | include disable-devel.inc |
@@ -20,13 +20,13 @@ include disable-programs.inc | |||
20 | 20 | ||
21 | mkdir ${HOME}/.cache/Franz | 21 | mkdir ${HOME}/.cache/Franz |
22 | mkdir ${HOME}/.config/Franz | 22 | mkdir ${HOME}/.config/Franz |
23 | mkdir ${HOME}/.pki | ||
24 | mkdir ${HOME}/.local/share/pki | 23 | mkdir ${HOME}/.local/share/pki |
24 | mkdir ${HOME}/.pki | ||
25 | whitelist ${DOWNLOADS} | 25 | whitelist ${DOWNLOADS} |
26 | whitelist ${HOME}/.cache/Franz | 26 | whitelist ${HOME}/.cache/Franz |
27 | whitelist ${HOME}/.config/Franz | 27 | whitelist ${HOME}/.config/Franz |
28 | whitelist ${HOME}/.pki | ||
29 | whitelist ${HOME}/.local/share/pki | 28 | whitelist ${HOME}/.local/share/pki |
29 | whitelist ${HOME}/.pki | ||
30 | include whitelist-common.inc | 30 | include whitelist-common.inc |
31 | 31 | ||
32 | caps.drop all | 32 | caps.drop all |
diff --git a/etc/profile-a-l/kmail.profile b/etc/profile-a-l/kmail.profile index 0796e6876..1bbc141e8 100644 --- a/etc/profile-a-l/kmail.profile +++ b/etc/profile-a-l/kmail.profile | |||
@@ -29,6 +29,7 @@ noblacklist ${HOME}/.local/share/kxmlgui5/kmail | |||
29 | noblacklist ${HOME}/.local/share/kxmlgui5/kmail2 | 29 | noblacklist ${HOME}/.local/share/kxmlgui5/kmail2 |
30 | noblacklist ${HOME}/.local/share/local-mail | 30 | noblacklist ${HOME}/.local/share/local-mail |
31 | noblacklist ${HOME}/.local/share/notes | 31 | noblacklist ${HOME}/.local/share/notes |
32 | noblacklist ${RUNUSER}/akonadi | ||
32 | noblacklist /tmp/akonadi-* | 33 | noblacklist /tmp/akonadi-* |
33 | 34 | ||
34 | include disable-common.inc | 35 | include disable-common.inc |
diff --git a/etc/profile-a-l/librewolf.profile b/etc/profile-a-l/librewolf.profile index ebffbbabf..6678e3fec 100644 --- a/etc/profile-a-l/librewolf.profile +++ b/etc/profile-a-l/librewolf.profile | |||
@@ -25,6 +25,7 @@ whitelist ${HOME}/.librewolf | |||
25 | 25 | ||
26 | whitelist /usr/share/doc | 26 | whitelist /usr/share/doc |
27 | whitelist /usr/share/gtk-doc/html | 27 | whitelist /usr/share/gtk-doc/html |
28 | whitelist /usr/share/librewolf | ||
28 | whitelist /usr/share/mozilla | 29 | whitelist /usr/share/mozilla |
29 | whitelist /usr/share/webext | 30 | whitelist /usr/share/webext |
30 | include whitelist-usr-share-common.inc | 31 | include whitelist-usr-share-common.inc |
@@ -50,6 +51,7 @@ dbus-user.own org.mozilla.librewolf.* | |||
50 | # Also add the next line to your librewolf.local if screensharing does not work with | 51 | # Also add the next line to your librewolf.local if screensharing does not work with |
51 | # the above lines (depends on the portal implementation). | 52 | # the above lines (depends on the portal implementation). |
52 | #ignore noroot | 53 | #ignore noroot |
54 | ignore apparmor | ||
53 | ignore dbus-user none | 55 | ignore dbus-user none |
54 | 56 | ||
55 | # Redirect | 57 | # Redirect |
diff --git a/etc/profile-a-l/lutris.profile b/etc/profile-a-l/lutris.profile index bf8ab9e64..71309b48f 100644 --- a/etc/profile-a-l/lutris.profile +++ b/etc/profile-a-l/lutris.profile | |||
@@ -9,6 +9,7 @@ include globals.local | |||
9 | noblacklist ${PATH}/llvm* | 9 | noblacklist ${PATH}/llvm* |
10 | noblacklist ${HOME}/Games | 10 | noblacklist ${HOME}/Games |
11 | noblacklist ${HOME}/.cache/lutris | 11 | noblacklist ${HOME}/.cache/lutris |
12 | noblacklist ${HOME}/.cache/wine | ||
12 | noblacklist ${HOME}/.cache/winetricks | 13 | noblacklist ${HOME}/.cache/winetricks |
13 | noblacklist ${HOME}/.config/lutris | 14 | noblacklist ${HOME}/.config/lutris |
14 | noblacklist ${HOME}/.local/share/lutris | 15 | noblacklist ${HOME}/.local/share/lutris |
@@ -34,6 +35,7 @@ include disable-xdg.inc | |||
34 | 35 | ||
35 | mkdir ${HOME}/Games | 36 | mkdir ${HOME}/Games |
36 | mkdir ${HOME}/.cache/lutris | 37 | mkdir ${HOME}/.cache/lutris |
38 | mkdir ${HOME}/.cache/wine | ||
37 | mkdir ${HOME}/.cache/winetricks | 39 | mkdir ${HOME}/.cache/winetricks |
38 | mkdir ${HOME}/.config/lutris | 40 | mkdir ${HOME}/.config/lutris |
39 | mkdir ${HOME}/.local/share/lutris | 41 | mkdir ${HOME}/.local/share/lutris |
@@ -41,6 +43,7 @@ mkdir ${HOME}/.local/share/lutris | |||
41 | whitelist ${DOWNLOADS} | 43 | whitelist ${DOWNLOADS} |
42 | whitelist ${HOME}/Games | 44 | whitelist ${HOME}/Games |
43 | whitelist ${HOME}/.cache/lutris | 45 | whitelist ${HOME}/.cache/lutris |
46 | whitelist ${HOME}/.cache/wine | ||
44 | whitelist ${HOME}/.cache/winetricks | 47 | whitelist ${HOME}/.cache/winetricks |
45 | whitelist ${HOME}/.config/lutris | 48 | whitelist ${HOME}/.config/lutris |
46 | whitelist ${HOME}/.local/share/lutris | 49 | whitelist ${HOME}/.local/share/lutris |
diff --git a/etc/profile-m-z/mediathekview.profile b/etc/profile-m-z/mediathekview.profile index f73ef0935..f0ef7d010 100644 --- a/etc/profile-m-z/mediathekview.profile +++ b/etc/profile-m-z/mediathekview.profile | |||
@@ -17,6 +17,8 @@ noblacklist ${HOME}/.mediathek3 | |||
17 | noblacklist ${HOME}/.mplayer | 17 | noblacklist ${HOME}/.mplayer |
18 | noblacklist ${VIDEOS} | 18 | noblacklist ${VIDEOS} |
19 | 19 | ||
20 | ignore noexec /tmp | ||
21 | |||
20 | # Allow java (blacklisted by disable-devel.inc) | 22 | # Allow java (blacklisted by disable-devel.inc) |
21 | include allow-java.inc | 23 | include allow-java.inc |
22 | 24 | ||
@@ -27,6 +29,8 @@ include disable-interpreters.inc | |||
27 | include disable-programs.inc | 29 | include disable-programs.inc |
28 | include disable-xdg.inc | 30 | include disable-xdg.inc |
29 | 31 | ||
32 | mkdir ${HOME}/.mediathek3 | ||
33 | whitelist ${HOME}/.mediathek3 | ||
30 | include whitelist-var-common.inc | 34 | include whitelist-var-common.inc |
31 | 35 | ||
32 | caps.drop all | 36 | caps.drop all |
diff --git a/etc/profile-m-z/midori.profile b/etc/profile-m-z/midori.profile index 7928d124e..eb037f51b 100644 --- a/etc/profile-m-z/midori.profile +++ b/etc/profile-m-z/midori.profile | |||
@@ -12,10 +12,10 @@ include globals.local | |||
12 | noblacklist ${HOME}/.cache/midori | 12 | noblacklist ${HOME}/.cache/midori |
13 | noblacklist ${HOME}/.config/midori | 13 | noblacklist ${HOME}/.config/midori |
14 | noblacklist ${HOME}/.local/share/midori | 14 | noblacklist ${HOME}/.local/share/midori |
15 | noblacklist ${HOME}/.local/share/pki | ||
15 | # noblacklist ${HOME}/.local/share/webkit | 16 | # noblacklist ${HOME}/.local/share/webkit |
16 | # noblacklist ${HOME}/.local/share/webkitgtk | 17 | # noblacklist ${HOME}/.local/share/webkitgtk |
17 | noblacklist ${HOME}/.pki | 18 | noblacklist ${HOME}/.pki |
18 | noblacklist ${HOME}/.local/share/pki | ||
19 | 19 | ||
20 | noblacklist ${HOME}/.cache/gnome-mplayer | 20 | noblacklist ${HOME}/.cache/gnome-mplayer |
21 | noblacklist ${HOME}/.config/gnome-mplayer | 21 | noblacklist ${HOME}/.config/gnome-mplayer |
@@ -31,10 +31,10 @@ include disable-xdg.inc | |||
31 | mkdir ${HOME}/.cache/midori | 31 | mkdir ${HOME}/.cache/midori |
32 | mkdir ${HOME}/.config/midori | 32 | mkdir ${HOME}/.config/midori |
33 | mkdir ${HOME}/.local/share/midori | 33 | mkdir ${HOME}/.local/share/midori |
34 | mkdir ${HOME}/.local/share/pki | ||
34 | mkdir ${HOME}/.local/share/webkit | 35 | mkdir ${HOME}/.local/share/webkit |
35 | mkdir ${HOME}/.local/share/webkitgtk | 36 | mkdir ${HOME}/.local/share/webkitgtk |
36 | mkdir ${HOME}/.pki | 37 | mkdir ${HOME}/.pki |
37 | mkdir ${HOME}/.local/share/pki | ||
38 | whitelist ${DOWNLOADS} | 38 | whitelist ${DOWNLOADS} |
39 | whitelist ${HOME}/.cache/gnome-mplayer/plugin | 39 | whitelist ${HOME}/.cache/gnome-mplayer/plugin |
40 | whitelist ${HOME}/.cache/midori | 40 | whitelist ${HOME}/.cache/midori |
@@ -42,10 +42,10 @@ whitelist ${HOME}/.config/gnome-mplayer | |||
42 | whitelist ${HOME}/.config/midori | 42 | whitelist ${HOME}/.config/midori |
43 | whitelist ${HOME}/.lastpass | 43 | whitelist ${HOME}/.lastpass |
44 | whitelist ${HOME}/.local/share/midori | 44 | whitelist ${HOME}/.local/share/midori |
45 | whitelist ${HOME}/.local/share/pki | ||
45 | whitelist ${HOME}/.local/share/webkit | 46 | whitelist ${HOME}/.local/share/webkit |
46 | whitelist ${HOME}/.local/share/webkitgtk | 47 | whitelist ${HOME}/.local/share/webkitgtk |
47 | whitelist ${HOME}/.pki | 48 | whitelist ${HOME}/.pki |
48 | whitelist ${HOME}/.local/share/pki | ||
49 | include whitelist-common.inc | 49 | include whitelist-common.inc |
50 | include whitelist-var-common.inc | 50 | include whitelist-var-common.inc |
51 | 51 | ||
diff --git a/etc/profile-m-z/otter-browser.profile b/etc/profile-m-z/otter-browser.profile index 78f92a860..e2687bf6b 100644 --- a/etc/profile-m-z/otter-browser.profile +++ b/etc/profile-m-z/otter-browser.profile | |||
@@ -10,8 +10,8 @@ include globals.local | |||
10 | 10 | ||
11 | noblacklist ${HOME}/.cache/Otter | 11 | noblacklist ${HOME}/.cache/Otter |
12 | noblacklist ${HOME}/.config/otter | 12 | noblacklist ${HOME}/.config/otter |
13 | noblacklist ${HOME}/.pki | ||
14 | noblacklist ${HOME}/.local/share/pki | 13 | noblacklist ${HOME}/.local/share/pki |
14 | noblacklist ${HOME}/.pki | ||
15 | 15 | ||
16 | include disable-common.inc | 16 | include disable-common.inc |
17 | include disable-devel.inc | 17 | include disable-devel.inc |
@@ -22,13 +22,13 @@ include disable-xdg.inc | |||
22 | 22 | ||
23 | mkdir ${HOME}/.cache/Otter | 23 | mkdir ${HOME}/.cache/Otter |
24 | mkdir ${HOME}/.config/otter | 24 | mkdir ${HOME}/.config/otter |
25 | mkdir ${HOME}/.pki | ||
26 | mkdir ${HOME}/.local/share/pki | 25 | mkdir ${HOME}/.local/share/pki |
26 | mkdir ${HOME}/.pki | ||
27 | whitelist ${DOWNLOADS} | 27 | whitelist ${DOWNLOADS} |
28 | whitelist ${HOME}/.cache/Otter | 28 | whitelist ${HOME}/.cache/Otter |
29 | whitelist ${HOME}/.config/otter | 29 | whitelist ${HOME}/.config/otter |
30 | whitelist ${HOME}/.pki | ||
31 | whitelist ${HOME}/.local/share/pki | 30 | whitelist ${HOME}/.local/share/pki |
31 | whitelist ${HOME}/.pki | ||
32 | whitelist /usr/share/otter-browser | 32 | whitelist /usr/share/otter-browser |
33 | include whitelist-common.inc | 33 | include whitelist-common.inc |
34 | include whitelist-runuser-common.inc | 34 | include whitelist-runuser-common.inc |
diff --git a/etc/profile-m-z/raincat.profile b/etc/profile-m-z/raincat.profile new file mode 100644 index 000000000..104577bdb --- /dev/null +++ b/etc/profile-m-z/raincat.profile | |||
@@ -0,0 +1,49 @@ | |||
1 | # Firejail profile for raincat | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include raincat.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | include disable-devel.inc | ||
9 | include disable-exec.inc | ||
10 | include disable-interpreters.inc | ||
11 | include disable-programs.inc | ||
12 | include disable-shell.inc | ||
13 | include disable-xdg.inc | ||
14 | |||
15 | whitelist /usr/share/games | ||
16 | whitelist /usr/share/timidity | ||
17 | include whitelist-usr-share-common.inc | ||
18 | include whitelist-var-common.inc | ||
19 | |||
20 | apparmor | ||
21 | caps.drop all | ||
22 | ipc-namespace | ||
23 | netfilter | ||
24 | nodvd | ||
25 | nogroups | ||
26 | noinput | ||
27 | nonewprivs | ||
28 | noroot | ||
29 | notv | ||
30 | nou2f | ||
31 | novideo | ||
32 | protocol unix | ||
33 | net none | ||
34 | seccomp | ||
35 | shell none | ||
36 | tracelog | ||
37 | |||
38 | disable-mnt | ||
39 | private | ||
40 | private-bin raincat | ||
41 | private-cache | ||
42 | private-dev | ||
43 | private-etc alternatives,drirc,ld.so.cache,ld.so.preload,machine-id,passwd,pulse,timidity,timidity.cfg | ||
44 | #private-lib | ||
45 | private-tmp | ||
46 | |||
47 | dbus-user none | ||
48 | dbus-system none | ||
49 | |||
diff --git a/etc/profile-m-z/rambox.profile b/etc/profile-m-z/rambox.profile index ffa2022ee..a14d7862b 100644 --- a/etc/profile-m-z/rambox.profile +++ b/etc/profile-m-z/rambox.profile | |||
@@ -7,8 +7,8 @@ include rambox.local | |||
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.config/Rambox | 9 | noblacklist ${HOME}/.config/Rambox |
10 | noblacklist ${HOME}/.pki | ||
11 | noblacklist ${HOME}/.local/share/pki | 10 | noblacklist ${HOME}/.local/share/pki |
11 | noblacklist ${HOME}/.pki | ||
12 | 12 | ||
13 | include disable-common.inc | 13 | include disable-common.inc |
14 | include disable-devel.inc | 14 | include disable-devel.inc |
@@ -16,12 +16,12 @@ include disable-interpreters.inc | |||
16 | include disable-programs.inc | 16 | include disable-programs.inc |
17 | 17 | ||
18 | mkdir ${HOME}/.config/Rambox | 18 | mkdir ${HOME}/.config/Rambox |
19 | mkdir ${HOME}/.pki | ||
20 | mkdir ${HOME}/.local/share/pki | 19 | mkdir ${HOME}/.local/share/pki |
20 | mkdir ${HOME}/.pki | ||
21 | whitelist ${DOWNLOADS} | 21 | whitelist ${DOWNLOADS} |
22 | whitelist ${HOME}/.config/Rambox | 22 | whitelist ${HOME}/.config/Rambox |
23 | whitelist ${HOME}/.pki | ||
24 | whitelist ${HOME}/.local/share/pki | 23 | whitelist ${HOME}/.local/share/pki |
24 | whitelist ${HOME}/.pki | ||
25 | include whitelist-common.inc | 25 | include whitelist-common.inc |
26 | 26 | ||
27 | caps.drop all | 27 | caps.drop all |
diff --git a/etc/profile-m-z/rpcs3.profile b/etc/profile-m-z/rpcs3.profile new file mode 100644 index 000000000..147afb236 --- /dev/null +++ b/etc/profile-m-z/rpcs3.profile | |||
@@ -0,0 +1,62 @@ | |||
1 | # Firejail profile for RPCS3 emulator | ||
2 | # Description: RPCS3 emulator | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include rpcs3.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/rpcs3 | ||
10 | noblacklist ${HOME}/.cache/rpcs3 | ||
11 | # Don't block access to /sbin and /usr/sbin to allow using ldconfig. Otherwise | ||
12 | # won't even start. | ||
13 | noblacklist /sbin | ||
14 | noblacklist /usr/sbin | ||
15 | |||
16 | blacklist /usr/libexec | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-exec.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-programs.inc # disable if PPU compilation crashes | ||
23 | include disable-shell.inc | ||
24 | include disable-xdg.inc | ||
25 | |||
26 | mkdir ${HOME}/.cache/rpcs3 | ||
27 | mkdir ${HOME}/.config/rpcs3 | ||
28 | whitelist ${HOME}/.cache/rpcs3 | ||
29 | whitelist ${HOME}/.config/rpcs3 | ||
30 | whitelist ${DOWNLOADS} | ||
31 | include whitelist-common.inc | ||
32 | include whitelist-run-common.inc | ||
33 | include whitelist-runuser-common.inc | ||
34 | include whitelist-usr-share-common.inc | ||
35 | include whitelist-var-common.inc | ||
36 | |||
37 | apparmor | ||
38 | caps.drop all | ||
39 | net none | ||
40 | netfilter | ||
41 | nodvd | ||
42 | nogroups | ||
43 | #noinput | ||
44 | nonewprivs | ||
45 | noroot | ||
46 | noprinters | ||
47 | notv | ||
48 | nou2f | ||
49 | novideo | ||
50 | protocol unix,netlink | ||
51 | seccomp | ||
52 | seccomp.block-secondary | ||
53 | shell none | ||
54 | tracelog | ||
55 | |||
56 | disable-mnt | ||
57 | #private-cache | ||
58 | #private-etc ca-certificates,crypto-policies,machine-id,pki,resolv.conf,ssl # seems to need awk | ||
59 | private-tmp | ||
60 | |||
61 | dbus-user none | ||
62 | dbus-system none | ||
diff --git a/etc/profile-m-z/seamonkey.profile b/etc/profile-m-z/seamonkey.profile index 807effbeb..e67e51620 100644 --- a/etc/profile-m-z/seamonkey.profile +++ b/etc/profile-m-z/seamonkey.profile | |||
@@ -8,8 +8,8 @@ include globals.local | |||
8 | 8 | ||
9 | noblacklist ${HOME}/.cache/mozilla | 9 | noblacklist ${HOME}/.cache/mozilla |
10 | noblacklist ${HOME}/.mozilla | 10 | noblacklist ${HOME}/.mozilla |
11 | noblacklist ${HOME}/.pki | ||
12 | noblacklist ${HOME}/.local/share/pki | 11 | noblacklist ${HOME}/.local/share/pki |
12 | noblacklist ${HOME}/.pki | ||
13 | 13 | ||
14 | include disable-common.inc | 14 | include disable-common.inc |
15 | include disable-devel.inc | 15 | include disable-devel.inc |
@@ -18,8 +18,8 @@ include disable-programs.inc | |||
18 | 18 | ||
19 | mkdir ${HOME}/.cache/mozilla | 19 | mkdir ${HOME}/.cache/mozilla |
20 | mkdir ${HOME}/.mozilla | 20 | mkdir ${HOME}/.mozilla |
21 | mkdir ${HOME}/.pki | ||
22 | mkdir ${HOME}/.local/share/pki | 21 | mkdir ${HOME}/.local/share/pki |
22 | mkdir ${HOME}/.pki | ||
23 | whitelist ${DOWNLOADS} | 23 | whitelist ${DOWNLOADS} |
24 | whitelist ${HOME}/.cache/gnome-mplayer/plugin | 24 | whitelist ${HOME}/.cache/gnome-mplayer/plugin |
25 | whitelist ${HOME}/.cache/mozilla | 25 | whitelist ${HOME}/.cache/mozilla |
@@ -28,11 +28,11 @@ whitelist ${HOME}/.config/pipelight-silverlight5.1 | |||
28 | whitelist ${HOME}/.config/pipelight-widevine | 28 | whitelist ${HOME}/.config/pipelight-widevine |
29 | whitelist ${HOME}/.keysnail.js | 29 | whitelist ${HOME}/.keysnail.js |
30 | whitelist ${HOME}/.lastpass | 30 | whitelist ${HOME}/.lastpass |
31 | whitelist ${HOME}/.local/share/pki | ||
31 | whitelist ${HOME}/.mozilla | 32 | whitelist ${HOME}/.mozilla |
32 | whitelist ${HOME}/.pentadactyl | 33 | whitelist ${HOME}/.pentadactyl |
33 | whitelist ${HOME}/.pentadactylrc | 34 | whitelist ${HOME}/.pentadactylrc |
34 | whitelist ${HOME}/.pki | 35 | whitelist ${HOME}/.pki |
35 | whitelist ${HOME}/.local/share/pki | ||
36 | whitelist ${HOME}/.vimperator | 36 | whitelist ${HOME}/.vimperator |
37 | whitelist ${HOME}/.vimperatorrc | 37 | whitelist ${HOME}/.vimperatorrc |
38 | whitelist ${HOME}/.wine-pipelight | 38 | whitelist ${HOME}/.wine-pipelight |
diff --git a/etc/profile-m-z/signal-desktop.profile b/etc/profile-m-z/signal-desktop.profile index 77a7f5b38..1166f378b 100644 --- a/etc/profile-m-z/signal-desktop.profile +++ b/etc/profile-m-z/signal-desktop.profile | |||
@@ -21,9 +21,15 @@ whitelist ${HOME}/.config/Signal | |||
21 | 21 | ||
22 | private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id,nsswitch.conf,pki,resolv.conf,ssl | 22 | private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,machine-id,nsswitch.conf,pki,resolv.conf,ssl |
23 | 23 | ||
24 | # allow D-Bus notifications | ||
25 | dbus-user filter | 24 | dbus-user filter |
25 | |||
26 | # allow D-Bus notifications | ||
26 | dbus-user.talk org.freedesktop.Notifications | 27 | dbus-user.talk org.freedesktop.Notifications |
28 | |||
29 | # allow D-Bus communication with firefox for opening links | ||
30 | dbus-user.talk org.mozilla.Firefox.* | ||
31 | dbus-user.talk org.mozilla.firefox.* | ||
32 | |||
27 | ignore dbus-user none | 33 | ignore dbus-user none |
28 | 34 | ||
29 | # Redirect | 35 | # Redirect |
diff --git a/etc/profile-m-z/ssh.profile b/etc/profile-m-z/ssh.profile index 9295013e7..4da0db517 100644 --- a/etc/profile-m-z/ssh.profile +++ b/etc/profile-m-z/ssh.profile | |||
@@ -50,4 +50,5 @@ writable-run-user | |||
50 | dbus-user none | 50 | dbus-user none |
51 | dbus-system none | 51 | dbus-system none |
52 | 52 | ||
53 | deterministic-shutdown | ||
53 | memory-deny-write-execute | 54 | memory-deny-write-execute |
diff --git a/etc/profile-m-z/steam.profile b/etc/profile-m-z/steam.profile index bcf94de51..b31818274 100644 --- a/etc/profile-m-z/steam.profile +++ b/etc/profile-m-z/steam.profile | |||
@@ -147,7 +147,7 @@ shell none | |||
147 | 147 | ||
148 | # private-bin is disabled while in testing, but is known to work with multiple games. | 148 | # private-bin is disabled while in testing, but is known to work with multiple games. |
149 | # Add the next line to your steam.local to enable private-bin. | 149 | # Add the next line to your steam.local to enable private-bin. |
150 | #private-bin awk,basename,bash,bsdtar,bzip2,cat,chmod,cksum,cmp,comm,compress,cp,curl,cut,date,dbus-launch,dbus-send,desktop-file-edit,desktop-file-install,desktop-file-validate,dirname,echo,env,expr,file,find,getopt,grep,gtar,gzip,head,hostname,id,lbzip2,ldconfig,ldd,ln,ls,lsb_release,lsof,lspci,lz4,lzip,lzma,lzop,md5sum,mkdir,mktemp,mv,netstat,ps,pulseaudio,python*,readlink,realpath,rm,sed,sh,sha1sum,sha256sum,sha512sum,sleep,sort,steam,steamdeps,steam-native,steam-runtime,sum,tail,tar,tclsh,test,touch,tr,umask,uname,update-desktop-database,wc,wget,which,whoami,xterm,xz,zenity | 150 | #private-bin awk,basename,bash,bsdtar,bzip2,cat,chmod,cksum,cmp,comm,compress,cp,curl,cut,date,dbus-launch,dbus-send,desktop-file-edit,desktop-file-install,desktop-file-validate,dirname,echo,env,expr,file,find,getopt,grep,gtar,gzip,head,hostname,id,lbzip2,ldconfig,ldd,ln,ls,lsb_release,lsof,lspci,lz4,lzip,lzma,lzop,md5sum,mkdir,mktemp,mv,netstat,ps,pulseaudio,python*,readlink,realpath,rm,sed,sh,sha1sum,sha256sum,sha512sum,sleep,sort,steam,steamdeps,steam-native,steam-runtime,sum,tail,tar,tclsh,test,touch,tr,umask,uname,update-desktop-database,wc,wget,wget2,which,whoami,xterm,xz,zenity |
151 | # Extra programs are available which might be needed for select games. | 151 | # Extra programs are available which might be needed for select games. |
152 | # Add the next line to your steam.local to enable support for these programs. | 152 | # Add the next line to your steam.local to enable support for these programs. |
153 | #private-bin java,java-config,mono | 153 | #private-bin java,java-config,mono |
@@ -157,7 +157,7 @@ shell none | |||
157 | private-dev | 157 | private-dev |
158 | # private-etc breaks a small selection of games on some systems. Add 'ignore private-etc' | 158 | # private-etc breaks a small selection of games on some systems. Add 'ignore private-etc' |
159 | # to your steam.local to support those. | 159 | # to your steam.local to support those. |
160 | private-etc alsa,alternatives,asound.conf,bumblebee,ca-certificates,crypto-policies,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,lsb-release,machine-id,mime.types,nvidia,os-release,passwd,pki,pulse,resolv.conf,services,ssl | 160 | private-etc alsa,alternatives,asound.conf,bumblebee,ca-certificates,crypto-policies,dbus-1,drirc,fonts,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,lsb-release,machine-id,mime.types,nvidia,os-release,passwd,pki,pulse,resolv.conf,services,ssl,vulkan |
161 | private-tmp | 161 | private-tmp |
162 | 162 | ||
163 | # dbus-user none | 163 | # dbus-user none |
diff --git a/etc/profile-m-z/supertuxkart.profile b/etc/profile-m-z/supertuxkart.profile index 473472251..23c8a6c58 100644 --- a/etc/profile-m-z/supertuxkart.profile +++ b/etc/profile-m-z/supertuxkart.profile | |||
@@ -43,7 +43,7 @@ noroot | |||
43 | notv | 43 | notv |
44 | nou2f | 44 | nou2f |
45 | novideo | 45 | novideo |
46 | protocol unix,inet,inet6,bluetooth | 46 | protocol unix,inet,inet6,netlink,bluetooth |
47 | seccomp | 47 | seccomp |
48 | seccomp.block-secondary | 48 | seccomp.block-secondary |
49 | shell none | 49 | shell none |
diff --git a/etc/profile-m-z/uzbl-browser.profile b/etc/profile-m-z/uzbl-browser.profile index 41487a8f2..dcdae279f 100644 --- a/etc/profile-m-z/uzbl-browser.profile +++ b/etc/profile-m-z/uzbl-browser.profile | |||
@@ -8,6 +8,7 @@ include globals.local | |||
8 | noblacklist ${HOME}/.config/uzbl | 8 | noblacklist ${HOME}/.config/uzbl |
9 | noblacklist ${HOME}/.gnupg | 9 | noblacklist ${HOME}/.gnupg |
10 | noblacklist ${HOME}/.local/share/uzbl | 10 | noblacklist ${HOME}/.local/share/uzbl |
11 | noblacklist ${HOME}/.password-store | ||
11 | 12 | ||
12 | # Allow python (blacklisted by disable-interpreters.inc) | 13 | # Allow python (blacklisted by disable-interpreters.inc) |
13 | include allow-python2.inc | 14 | include allow-python2.inc |
diff --git a/etc/profile-m-z/warzone2100.profile b/etc/profile-m-z/warzone2100.profile index 46dca0547..5519c3c1e 100644 --- a/etc/profile-m-z/warzone2100.profile +++ b/etc/profile-m-z/warzone2100.profile | |||
@@ -7,19 +7,22 @@ include warzone2100.local | |||
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.warzone2100-3.* | 9 | noblacklist ${HOME}/.warzone2100-3.* |
10 | noblacklist ${HOME}/.local/share/warzone2100-3.* | ||
10 | 11 | ||
11 | include disable-common.inc | 12 | include disable-common.inc |
12 | include disable-devel.inc | 13 | include disable-devel.inc |
13 | include disable-exec.inc | 14 | include disable-exec.inc |
14 | include disable-interpreters.inc | 15 | include disable-interpreters.inc |
15 | include disable-programs.inc | 16 | include disable-programs.inc |
16 | include disable-shell.inc | 17 | #include disable-shell.inc - problems on Debian 11 |
17 | 18 | ||
18 | mkdir ${HOME}/.warzone2100-3.1 | 19 | mkdir ${HOME}/.warzone2100-3.1 |
19 | mkdir ${HOME}/.warzone2100-3.2 | 20 | mkdir ${HOME}/.warzone2100-3.2 |
21 | whitelist ${HOME}/.local/share/warzone2100-3.3.0 # config dir moved under .local/share | ||
20 | whitelist ${HOME}/.warzone2100-3.1 | 22 | whitelist ${HOME}/.warzone2100-3.1 |
21 | whitelist ${HOME}/.warzone2100-3.2 | 23 | whitelist ${HOME}/.warzone2100-3.2 |
22 | whitelist /usr/share/games | 24 | whitelist /usr/share/games |
25 | whitelist /usr/share/gdm | ||
23 | include whitelist-common.inc | 26 | include whitelist-common.inc |
24 | include whitelist-runuser-common.inc | 27 | include whitelist-runuser-common.inc |
25 | include whitelist-usr-share-common.inc | 28 | include whitelist-usr-share-common.inc |
@@ -42,6 +45,6 @@ shell none | |||
42 | tracelog | 45 | tracelog |
43 | 46 | ||
44 | disable-mnt | 47 | disable-mnt |
45 | private-bin warzone2100 | 48 | private-bin bash,dash,sh,warzone2100,which |
46 | private-dev | 49 | private-dev |
47 | private-tmp | 50 | private-tmp |
diff --git a/etc/profile-m-z/wget2.profile b/etc/profile-m-z/wget2.profile new file mode 100644 index 000000000..18918c6af --- /dev/null +++ b/etc/profile-m-z/wget2.profile | |||
@@ -0,0 +1,19 @@ | |||
1 | # Firejail profile for wget2 | ||
2 | # Description: Updated version of the popular wget URL retrieval tool | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include wget2.local | ||
7 | # Persistent global definitions | ||
8 | # added by included profile | ||
9 | #include globals.local | ||
10 | |||
11 | noblacklist ${HOME}/.config/wget | ||
12 | ignore noblacklist ${HOME}/.wgetrc | ||
13 | |||
14 | private-bin wget2 | ||
15 | # Depending on workflow you can add the next line to your wget2.local. | ||
16 | #private-etc wget2rc | ||
17 | |||
18 | # Redirect | ||
19 | include wget.profile | ||
diff --git a/etc/profile-m-z/wine.profile b/etc/profile-m-z/wine.profile index 1e9b9341b..f30fc971f 100644 --- a/etc/profile-m-z/wine.profile +++ b/etc/profile-m-z/wine.profile | |||
@@ -6,6 +6,7 @@ include wine.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | noblacklist ${HOME}/.cache/wine | ||
9 | noblacklist ${HOME}/.cache/winetricks | 10 | noblacklist ${HOME}/.cache/winetricks |
10 | noblacklist ${HOME}/.Steam | 11 | noblacklist ${HOME}/.Steam |
11 | noblacklist ${HOME}/.local/share/Steam | 12 | noblacklist ${HOME}/.local/share/Steam |
diff --git a/etc/profile-m-z/youtube-viewers-common.profile b/etc/profile-m-z/youtube-viewers-common.profile index 80d551038..f212a6721 100644 --- a/etc/profile-m-z/youtube-viewers-common.profile +++ b/etc/profile-m-z/youtube-viewers-common.profile | |||
@@ -50,7 +50,7 @@ shell none | |||
50 | tracelog | 50 | tracelog |
51 | 51 | ||
52 | disable-mnt | 52 | disable-mnt |
53 | private-bin bash,ffmpeg,ffprobe,firefox,mpv,perl,python*,sh,smplayer,stty,wget,which,xterm,youtube-dl,yt-dlp | 53 | private-bin bash,ffmpeg,ffprobe,firefox,mpv,perl,python*,sh,smplayer,stty,wget,wget2,which,xterm,youtube-dl,yt-dlp |
54 | private-cache | 54 | private-cache |
55 | private-dev | 55 | private-dev |
56 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,machine-id,mime.types,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl,X11,xdg | 56 | private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.preload,machine-id,mime.types,nsswitch.conf,passwd,pki,pulse,resolv.conf,ssl,X11,xdg |
diff --git a/etc/templates/profile.template b/etc/templates/profile.template index 1a4c8fef9..aefb75c2c 100644 --- a/etc/templates/profile.template +++ b/etc/templates/profile.template | |||
@@ -155,6 +155,7 @@ include globals.local | |||
155 | #nogroups | 155 | #nogroups |
156 | #noinput | 156 | #noinput |
157 | #nonewprivs | 157 | #nonewprivs |
158 | #noprinters | ||
158 | #noroot | 159 | #noroot |
159 | #nosound | 160 | #nosound |
160 | #notv | 161 | #notv |