aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--RELNOTES2
-rw-r--r--etc/apparmor/firejail-local3
-rw-r--r--etc/inc/disable-common.inc1
-rw-r--r--etc/inc/disable-programs.inc4
-rw-r--r--etc/profile-a-l/apostrophe.profile14
-rw-r--r--etc/profile-a-l/brave.profile5
-rw-r--r--etc/profile-a-l/dbus-send.profile2
-rw-r--r--etc/profile-a-l/discord-canary.profile2
-rw-r--r--etc/profile-a-l/etr.profile2
-rw-r--r--etc/profile-a-l/exfalso.profile54
-rw-r--r--etc/profile-a-l/file-roller.profile4
-rw-r--r--etc/profile-a-l/firedragon.profile26
-rw-r--r--etc/profile-a-l/flameshot.profile8
-rw-r--r--etc/profile-a-l/librewolf-nightly.profile3
-rw-r--r--etc/profile-a-l/librewolf.profile34
-rw-r--r--etc/profile-a-l/sway.profile19
-rw-r--r--etc/profile-m-z/mumble.profile1
-rw-r--r--etc/profile-m-z/qrencode.profile2
-rw-r--r--etc/profile-m-z/quodlibet.profile66
-rw-r--r--etc/profile-m-z/tmux.profile45
-rw-r--r--etc/templates/profile.template3
-rw-r--r--src/firecfg/firecfg.config1
-rw-r--r--src/profstats/main.c2
24 files changed, 239 insertions, 68 deletions
diff --git a/README.md b/README.md
index 8994fcc11..c9711226d 100644
--- a/README.md
+++ b/README.md
@@ -84,7 +84,7 @@ Backup Video Channel: https://www.bitchute.com/profile/JSBsA1aoQVfW/
84We take security bugs very seriously. If you believe you have found one, please report it by emailing us at netblue30@protonmail.com 84We take security bugs very seriously. If you believe you have found one, please report it by emailing us at netblue30@protonmail.com
85 85
86````` 86`````
87Security Adivsory - Feb 8, 2021 87Security Advisory - Feb 8, 2021
88 88
89Summary: A vulnerability resulting in root privilege escalation was discovered in 89Summary: A vulnerability resulting in root privilege escalation was discovered in
90Firejail's OverlayFS code, 90Firejail's OverlayFS code,
@@ -333,4 +333,4 @@ Stats:
333vmware-view, display-im6.q16, ipcalc, ipcalc-ng, ebook-convert, ebook-edit, ebook-meta, ebook-polish, lzop, 333vmware-view, display-im6.q16, ipcalc, ipcalc-ng, ebook-convert, ebook-edit, ebook-meta, ebook-polish, lzop,
334avidemux, calligragemini, vmware-player, vmware-workstation, gget, com.github.phase1geo.minder, nextcloud-desktop, 334avidemux, calligragemini, vmware-player, vmware-workstation, gget, com.github.phase1geo.minder, nextcloud-desktop,
335pcsxr, PPSSPPSDL, openmw, openmw-launcher, jami-gnome, PCSX2, bcompare, b2sum, cksum, md5sum, sha1sum, sha224sum, 335pcsxr, PPSSPPSDL, openmw, openmw-launcher, jami-gnome, PCSX2, bcompare, b2sum, cksum, md5sum, sha1sum, sha224sum,
336sha256sum, sha384sum, sha512sum, sum 336sha256sum, sha384sum, sha512sum, sum, librewold-nightly, Quodlibet, tmux, sway
diff --git a/RELNOTES b/RELNOTES
index a3e23abd6..8dda7c01c 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -18,7 +18,7 @@ firejail (0.9.65) baseline; urgency=low
18 * gget, com.github.phase1geo.minder, nextcloud-desktop, pcsxr 18 * gget, com.github.phase1geo.minder, nextcloud-desktop, pcsxr
19 * PPSSPPSDL, openmw, openmw-launcher, jami-gnome, PCSX2, sum 19 * PPSSPPSDL, openmw, openmw-launcher, jami-gnome, PCSX2, sum
20 * bcompare, b2sum, cksum, md5sum, sha1sum, sha224sum, sha256sum 20 * bcompare, b2sum, cksum, md5sum, sha1sum, sha224sum, sha256sum
21 * sha384sum, sha512sum 21 * sha384sum, sha512sum, librewold-nightly, Quodlibet, tmux, sway
22 -- netblue30 <netblue30@yahoo.com> Tue, 9 Feb 2021 09:00:00 -0500 22 -- netblue30 <netblue30@yahoo.com> Tue, 9 Feb 2021 09:00:00 -0500
23 23
24firejail (0.9.64.4) baseline; urgency=low 24firejail (0.9.64.4) baseline; urgency=low
diff --git a/etc/apparmor/firejail-local b/etc/apparmor/firejail-local
index 7f2a778ab..3dfd3d0ea 100644
--- a/etc/apparmor/firejail-local
+++ b/etc/apparmor/firejail-local
@@ -8,5 +8,8 @@
8#owner @HOME/bin/** ix 8#owner @HOME/bin/** ix
9#owner @HOME/.local/bin/** ix 9#owner @HOME/.local/bin/** ix
10 10
11# Uncomment to opt-in to apparmor for brave + tor
12#owner @{HOME}/.config/BraveSoftware/Brave-Browser/biahpgbdmdkfgndcmfiipgcebobojjkp/*/** ix,
13
11# Uncomment to opt-in to apparmor for torbrowser-launcher 14# Uncomment to opt-in to apparmor for torbrowser-launcher
12#owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/** ix, 15#owner @{HOME}/.local/share/torbrowser/tbb/{i686,x86_64}/tor-browser_*/Browser/** ix,
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc
index 52534a9e9..35f89e11b 100644
--- a/etc/inc/disable-common.inc
+++ b/etc/inc/disable-common.inc
@@ -34,6 +34,7 @@ blacklist ${HOME}/.config/autostart
34blacklist ${HOME}/.config/autostart-scripts 34blacklist ${HOME}/.config/autostart-scripts
35blacklist ${HOME}/.config/awesome 35blacklist ${HOME}/.config/awesome
36blacklist ${HOME}/.config/i3 36blacklist ${HOME}/.config/i3
37blacklist ${HOME}/.config/sway
37blacklist ${HOME}/.config/lxsession/LXDE/autostart 38blacklist ${HOME}/.config/lxsession/LXDE/autostart
38blacklist ${HOME}/.config/openbox 39blacklist ${HOME}/.config/openbox
39blacklist ${HOME}/.config/plasma-workspace 40blacklist ${HOME}/.config/plasma-workspace
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 828b5c546..0ca8817cb 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -380,6 +380,7 @@ blacklist ${HOME}/.config/qBittorrent
380blacklist ${HOME}/.config/qBittorrentrc 380blacklist ${HOME}/.config/qBittorrentrc
381blacklist ${HOME}/.config/qnapi.ini 381blacklist ${HOME}/.config/qnapi.ini
382blacklist ${HOME}/.config/qpdfview 382blacklist ${HOME}/.config/qpdfview
383blacklist ${HOME}/.config/quodlibet
383blacklist ${HOME}/.config/qupzilla 384blacklist ${HOME}/.config/qupzilla
384blacklist ${HOME}/.config/qutebrowser 385blacklist ${HOME}/.config/qutebrowser
385blacklist ${HOME}/.config/ranger 386blacklist ${HOME}/.config/ranger
@@ -478,6 +479,7 @@ blacklist ${HOME}/.equalx
478blacklist ${HOME}/.ethereum 479blacklist ${HOME}/.ethereum
479blacklist ${HOME}/.etr 480blacklist ${HOME}/.etr
480blacklist ${HOME}/.filezilla 481blacklist ${HOME}/.filezilla
482blacklist ${HOME}/.firedragon
481blacklist ${HOME}/.flowblade 483blacklist ${HOME}/.flowblade
482blacklist ${HOME}/.fltk 484blacklist ${HOME}/.fltk
483blacklist ${HOME}/.fossamail 485blacklist ${HOME}/.fossamail
@@ -921,6 +923,7 @@ blacklist ${HOME}/.cache/Otter
921blacklist ${HOME}/.cache/PawelStolowski 923blacklist ${HOME}/.cache/PawelStolowski
922blacklist ${HOME}/.cache/Psi 924blacklist ${HOME}/.cache/Psi
923blacklist ${HOME}/.cache/QuiteRss 925blacklist ${HOME}/.cache/QuiteRss
926blacklist ${HOME}/.cache/quodlibet
924blacklist ${HOME}/.cache/Quotient/quaternion 927blacklist ${HOME}/.cache/Quotient/quaternion
925blacklist ${HOME}/.cache/Shortwave 928blacklist ${HOME}/.cache/Shortwave
926blacklist ${HOME}/.cache/Tox 929blacklist ${HOME}/.cache/Tox
@@ -950,6 +953,7 @@ blacklist ${HOME}/.cache/epiphany
950blacklist ${HOME}/.cache/evolution 953blacklist ${HOME}/.cache/evolution
951blacklist ${HOME}/.cache/falkon 954blacklist ${HOME}/.cache/falkon
952blacklist ${HOME}/.cache/feedreader 955blacklist ${HOME}/.cache/feedreader
956blacklist ${HOME}/.cache/firedragon
953blacklist ${HOME}/.cache/flaska.net/trojita 957blacklist ${HOME}/.cache/flaska.net/trojita
954blacklist ${HOME}/.cache/folks 958blacklist ${HOME}/.cache/folks
955blacklist ${HOME}/.cache/font-manager 959blacklist ${HOME}/.cache/font-manager
diff --git a/etc/profile-a-l/apostrophe.profile b/etc/profile-a-l/apostrophe.profile
index 4986ac63a..f265c8406 100644
--- a/etc/profile-a-l/apostrophe.profile
+++ b/etc/profile-a-l/apostrophe.profile
@@ -6,15 +6,22 @@ include apostrophe.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.texlive20*
9noblacklist ${DOCUMENTS} 10noblacklist ${DOCUMENTS}
10noblacklist ${PICTURES} 11noblacklist ${PICTURES}
11 12
12# Allow lua (blacklisted by disable-interpreters.inc) 13# Allow lua (blacklisted by disable-interpreters.inc)
13include allow-lua.inc 14include allow-lua.inc
14 15
16# Allow perl (blacklisted by disable-interpreters.inc)
17include allow-perl.inc
18
15# Allow python (blacklisted by disable-interpreters.inc) 19# Allow python (blacklisted by disable-interpreters.inc)
16include allow-python3.inc 20include allow-python3.inc
17 21
22# Allow /bin/sh (blacklisted by disable-shell.inc)
23include allow-bin-sh.inc
24
18include disable-common.inc 25include disable-common.inc
19include disable-devel.inc 26include disable-devel.inc
20include disable-exec.inc 27include disable-exec.inc
@@ -25,7 +32,10 @@ include disable-shell.inc
25include disable-xdg.inc 32include disable-xdg.inc
26 33
27whitelist /usr/share/apostrophe 34whitelist /usr/share/apostrophe
35whitelist /usr/share/texlive
36whitelist /usr/share/texmf
28whitelist /usr/share/pandoc-* 37whitelist /usr/share/pandoc-*
38whitelist /usr/share/perl5
29include whitelist-runuser-common.inc 39include whitelist-runuser-common.inc
30include whitelist-usr-share-common.inc 40include whitelist-usr-share-common.inc
31include whitelist-var-common.inc 41include whitelist-var-common.inc
@@ -49,10 +59,10 @@ shell none
49tracelog 59tracelog
50 60
51disable-mnt 61disable-mnt
52private-bin apostrophe,pandoc,python3* 62private-bin apostrophe,fmtutil,kpsewhich,mktexfmt,pandoc,pdftex,perl,python3*,sh,xdvipdfmx,xelatex,xetex
53private-cache 63private-cache
54private-dev 64private-dev
55private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,X11 65private-etc alternatives,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,pango,texlive,X11
56private-tmp 66private-tmp
57 67
58dbus-user filter 68dbus-user filter
diff --git a/etc/profile-a-l/brave.profile b/etc/profile-a-l/brave.profile
index 5a5e9eacd..09548c761 100644
--- a/etc/profile-a-l/brave.profile
+++ b/etc/profile-a-l/brave.profile
@@ -8,7 +8,10 @@ include globals.local
8 8
9# noexec /tmp is included in chromium-common.profile and breaks Brave 9# noexec /tmp is included in chromium-common.profile and breaks Brave
10ignore noexec /tmp 10ignore noexec /tmp
11# TOR is installed in ${HOME} 11# TOR is installed in ${HOME}.
12# NOTE: chromium-common.profile enables apparmor. To keep that intact
13# you will need to uncomment the 'brave + tor' rule in /etc/apparmor.d/local/firejail-default.
14# Alternatively you can add 'ignore apparmor' to your brave.local.
12ignore noexec ${HOME} 15ignore noexec ${HOME}
13 16
14noblacklist ${HOME}/.cache/BraveSoftware 17noblacklist ${HOME}/.cache/BraveSoftware
diff --git a/etc/profile-a-l/dbus-send.profile b/etc/profile-a-l/dbus-send.profile
index 76a14d99b..0000de441 100644
--- a/etc/profile-a-l/dbus-send.profile
+++ b/etc/profile-a-l/dbus-send.profile
@@ -52,7 +52,7 @@ private-bin dbus-send
52private-cache 52private-cache
53private-dev 53private-dev
54private-etc alternatives,dbus-1 54private-etc alternatives,dbus-1
55private-lib libpcre2-8.so.0 55private-lib libpcre*
56private-tmp 56private-tmp
57 57
58memory-deny-write-execute 58memory-deny-write-execute
diff --git a/etc/profile-a-l/discord-canary.profile b/etc/profile-a-l/discord-canary.profile
index 3e9dacd1e..43db95b8a 100644
--- a/etc/profile-a-l/discord-canary.profile
+++ b/etc/profile-a-l/discord-canary.profile
@@ -10,7 +10,7 @@ noblacklist ${HOME}/.config/discordcanary
10mkdir ${HOME}/.config/discordcanary 10mkdir ${HOME}/.config/discordcanary
11whitelist ${HOME}/.config/discordcanary 11whitelist ${HOME}/.config/discordcanary
12 12
13private-bin discord-canary 13private-bin discord-canary,electron,electron[0-9],electron[0-9][0-9]
14private-opt discord-canary 14private-opt discord-canary
15 15
16# Redirect 16# Redirect
diff --git a/etc/profile-a-l/etr.profile b/etc/profile-a-l/etr.profile
index 1c34335d2..f55d23778 100644
--- a/etc/profile-a-l/etr.profile
+++ b/etc/profile-a-l/etr.profile
@@ -44,7 +44,7 @@ disable-mnt
44private-bin etr 44private-bin etr
45private-cache 45private-cache
46private-dev 46private-dev
47# private-etc alternatives,drirc,machine-id,openal 47# private-etc alternatives,drirc,machine-id,openal,passwd
48private-tmp 48private-tmp
49 49
50dbus-user none 50dbus-user none
diff --git a/etc/profile-a-l/exfalso.profile b/etc/profile-a-l/exfalso.profile
index 192858304..92e4395c5 100644
--- a/etc/profile-a-l/exfalso.profile
+++ b/etc/profile-a-l/exfalso.profile
@@ -4,58 +4,12 @@
4# Persistent local customizations 4# Persistent local customizations
5include exfalso.local 5include exfalso.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7# added by included profile
8#include globals.local
8 9
9noblacklist ${HOME}/.quodlibet
10noblacklist ${MUSIC}
11
12# Allow python (blacklisted by disable-interpreters.inc)
13include allow-python2.inc
14include allow-python3.inc
15
16whitelist ${DOWNLOADS}
17whitelist ${MUSIC}
18
19include disable-common.inc
20include disable-devel.inc
21include disable-exec.inc
22include disable-interpreters.inc
23include disable-passwdmgr.inc
24include disable-programs.inc
25include disable-shell.inc
26include disable-xdg.inc
27
28mkdir ${HOME}/.quodlibet
29whitelist ${HOME}/.quodlibet
30include whitelist-common.inc
31include whitelist-usr-share-common.inc
32include whitelist-var-common.inc
33
34caps.drop all
35ipc-namespace
36machine-id
37netfilter
38no3d
39nodvd
40nogroups
41nonewprivs
42noroot
43nosound
44notv
45nou2f
46novideo
47protocol unix,inet,inet6
48seccomp
49shell none
50
51private-bin exfalso,python*
52private-cache
53private-dev
54private-etc alternatives,fonts,group,passwd
55private-lib libatk-1.0.so.*,libgdk-3.so.*,libgdk_pixbuf-2.0.so.*,libgirepository-1.0.so.*,libgstreamer-1.0.so.*,libgtk-3.so.*,libgtksourceview-3.0.so.*,libpango-1.0.so.*,libpython*,libreadline.so.*,libsoup-2.4.so.*,libssl.so.1.*,python2*,python3* 10private-lib libatk-1.0.so.*,libgdk-3.so.*,libgdk_pixbuf-2.0.so.*,libgirepository-1.0.so.*,libgstreamer-1.0.so.*,libgtk-3.so.*,libgtksourceview-3.0.so.*,libpango-1.0.so.*,libpython*,libreadline.so.*,libsoup-2.4.so.*,libssl.so.1.*,python2*,python3*
56private-tmp
57 11
58dbus-user none 12dbus-user none
59dbus-system none
60 13
61#memory-deny-write-execute - breaks on Arch (see issue #1803) 14# Redirect
15include quodlibet.profile
diff --git a/etc/profile-a-l/file-roller.profile b/etc/profile-a-l/file-roller.profile
index 2a1eb2001..50d2b923b 100644
--- a/etc/profile-a-l/file-roller.profile
+++ b/etc/profile-a-l/file-roller.profile
@@ -20,9 +20,9 @@ include whitelist-var-common.inc
20 20
21apparmor 21apparmor
22caps.drop all 22caps.drop all
23#ipc-namespace - causing issues launching on archlinux
24machine-id 23machine-id
25# net none - breaks on older Ubuntu versions 24# net none - breaks on older Ubuntu versions
25netfilter
26no3d 26no3d
27nodvd 27nodvd
28nogroups 28nogroups
@@ -38,7 +38,7 @@ seccomp.block-secondary
38shell none 38shell none
39tracelog 39tracelog
40 40
41private-bin 7z,7za,7zr,ar,arj,bash,brotli,bzip2,compress,cpio,dpkg-deb,file-roller,gtar,gzip,isoinfo,lha,lrzip,lsar,lz4,lzip,lzma,lzop,p7zip,rar,rzip,sh,tar,unace,unalz,unar,uncompress,unrar,unsquashfs,unstuff,unzip,xz,zip,zoo 41private-bin 7z,7za,7zr,ar,arj,atool,bash,brotli,bsdtar,bzip2,compress,cp,cpio,dpkg-deb,file-roller,gtar,gzip,isoinfo,lha,lrzip,lsar,lz4,lzip,lzma,lzop,mv,p7zip,rar,rm,rzip,sh,tar,unace,unalz,unar,uncompress,unrar,unsquashfs,unstuff,unzip,unzstd,xz,xzdec,zip,zoo,zstd
42private-cache 42private-cache
43private-dev 43private-dev
44private-etc dconf,fonts,gtk-3.0,xdg 44private-etc dconf,fonts,gtk-3.0,xdg
diff --git a/etc/profile-a-l/firedragon.profile b/etc/profile-a-l/firedragon.profile
new file mode 100644
index 000000000..77487161e
--- /dev/null
+++ b/etc/profile-a-l/firedragon.profile
@@ -0,0 +1,26 @@
1# Firejail profile for FireDragon
2# Description: Librewolf fork with enhanced KDE integration
3# This file is overwritten after every install/update
4# Persistent local customizations
5include firedragon.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/firedragon
10noblacklist ${HOME}/.firedragon
11
12mkdir ${HOME}/.cache/firedragon
13mkdir ${HOME}/.firedragon
14whitelist ${HOME}/.cache/firedragon
15whitelist ${HOME}/.firedragon
16
17# Add the next lines to your firedragon.local if you want to use the migration wizard.
18#noblacklist ${HOME}/.mozilla
19#whitelist ${HOME}/.mozilla
20
21# FireDragon requires a shell to launch on Arch. We can possibly remove sh though.
22# Add the next line to your firedragon.local to enable private-bin.
23#private-bin bash,dbus-launch,dbus-send,env,firedragon,python*,sh,which
24
25# Redirect
26include firefox-common.profile
diff --git a/etc/profile-a-l/flameshot.profile b/etc/profile-a-l/flameshot.profile
index 851a7c747..d1c18e690 100644
--- a/etc/profile-a-l/flameshot.profile
+++ b/etc/profile-a-l/flameshot.profile
@@ -54,9 +54,15 @@ private-bin flameshot
54private-cache 54private-cache
55private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.conf,machine-id,pki,resolv.conf,ssl 55private-etc alternatives,ca-certificates,crypto-policies,fonts,ld.so.conf,machine-id,pki,resolv.conf,ssl
56private-dev 56private-dev
57private-tmp 57#private-tmp
58 58
59dbus-user filter 59dbus-user filter
60dbus-user.own org.dharkael.Flameshot 60dbus-user.own org.dharkael.Flameshot
61dbus-user.own org.flameshot.Flameshot 61dbus-user.own org.flameshot.Flameshot
62dbus-user.talk org.freedesktop.Notifications
63dbus-user.talk org.freedesktop.portal.Desktop
64dbus-user.talk org.gnome.Shell
65dbus-user.talk org.kde.KWin
66dbus-user.talk org.kde.StatusNotifierWatcher
67dbus-user.own org.kde.*
62dbus-system none 68dbus-system none
diff --git a/etc/profile-a-l/librewolf-nightly.profile b/etc/profile-a-l/librewolf-nightly.profile
index e6c3da608..72df5a52a 100644
--- a/etc/profile-a-l/librewolf-nightly.profile
+++ b/etc/profile-a-l/librewolf-nightly.profile
@@ -6,5 +6,8 @@ include librewolf-nightly.local
6# added by included profile 6# added by included profile
7#include globals.local 7#include globals.local
8 8
9# Add the next line to your librewolf-nightly.local to enable private-bin.
10#private-bin librewolf-nightly
11
9# Redirect 12# Redirect
10include librewolf.profile 13include librewolf.profile
diff --git a/etc/profile-a-l/librewolf.profile b/etc/profile-a-l/librewolf.profile
index 8e891a930..0934e1271 100644
--- a/etc/profile-a-l/librewolf.profile
+++ b/etc/profile-a-l/librewolf.profile
@@ -18,12 +18,40 @@ whitelist ${HOME}/.librewolf
18#noblacklist ${HOME}/.mozilla 18#noblacklist ${HOME}/.mozilla
19#whitelist ${HOME}/.mozilla 19#whitelist ${HOME}/.mozilla
20 20
21# librewolf requires a shell to launch on Arch. We can possibly remove sh though. 21# Uncomment or put in your librewolf.local one of the following whitelist to enable KeePassXC Plugin
22# Add the next line to your librewolf.local to enable private-bin. 22# NOTE: start KeePassXC before Librewolf and keep it open to allow communication between them
23#private-bin bash,dbus-launch,dbus-send,env,librewolf,python*,sh,which 23#whitelist ${RUNUSER}/kpxc_server
24#whitelist ${RUNUSER}/org.keepassxc.KeePassXC.BrowserServer
25
26whitelist /usr/share/doc
27whitelist /usr/share/gtk-doc/html
28whitelist /usr/share/mozilla
29whitelist /usr/share/webext
30include whitelist-usr-share-common.inc
31
32# Add the next line to your librewolf.local to enable private-bin (Arch Linux).
33#private-bin dbus-launch,dbus-send,librewolf,sh
24# Add the next line to your librewolf.local to enable private-etc. Note 34# Add the next line to your librewolf.local to enable private-etc. Note
25# that private-etc must first be enabled in firefox-common.local. 35# that private-etc must first be enabled in firefox-common.local.
26#private-etc librewolf 36#private-etc librewolf
27 37
38dbus-user filter
39# Uncomment or put in your librewolf.local to enable native notifications.
40#dbus-user.talk org.freedesktop.Notifications
41# Uncomment or put in your librewolf.local to allow to inhibit screensavers
42#dbus-user.talk org.freedesktop.ScreenSaver
43# Uncomment or put in your librewolf.local for plasma browser integration
44#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
45#dbus-user.talk org.kde.JobViewServer
46#dbus-user.talk org.kde.kuiserver
47# Uncomment or put in your librewolf.local to allow screen sharing under wayland.
48#whitelist ${RUNUSER}/pipewire-0
49#dbus-user.talk org.freedesktop.portal.*
50# Also uncomment or put in your librewolf.local if screen sharing sharing still
51# does not work with the above lines (might depend on the portal
52# implementation)
53#ignore noroot
54ignore dbus-user none
55
28# Redirect 56# Redirect
29include firefox-common.profile 57include firefox-common.profile
diff --git a/etc/profile-a-l/sway.profile b/etc/profile-a-l/sway.profile
new file mode 100644
index 000000000..4637419bf
--- /dev/null
+++ b/etc/profile-a-l/sway.profile
@@ -0,0 +1,19 @@
1# Firejail profile for Sway
2# Description: i3-compatible Wayland compositor
3# This file is overwritten after every install/update
4# Persistent local customizations
5include sway.local
6# Persistent global definitions
7include globals.local
8
9# all applications started in sway will run in this profile
10noblacklist ${HOME}/.config/sway
11# sway uses ~/.config/i3 as fallback if there is no ~/.config/sway
12noblacklist ${HOME}/.config/i3
13include disable-common.inc
14
15caps.drop all
16netfilter
17noroot
18protocol unix,inet,inet6
19seccomp
diff --git a/etc/profile-m-z/mumble.profile b/etc/profile-m-z/mumble.profile
index 0c4efc3d3..c7f59c5ee 100644
--- a/etc/profile-m-z/mumble.profile
+++ b/etc/profile-m-z/mumble.profile
@@ -29,7 +29,6 @@ include whitelist-var-common.inc
29 29
30caps.drop all 30caps.drop all
31netfilter 31netfilter
32no3d
33nodvd 32nodvd
34nogroups 33nogroups
35nonewprivs 34nonewprivs
diff --git a/etc/profile-m-z/qrencode.profile b/etc/profile-m-z/qrencode.profile
index 952e9f5f3..6480651b2 100644
--- a/etc/profile-m-z/qrencode.profile
+++ b/etc/profile-m-z/qrencode.profile
@@ -48,7 +48,7 @@ private-bin qrencode
48private-cache 48private-cache
49private-dev 49private-dev
50private-etc none 50private-etc none
51private-lib libpcre2-8.so.0 51private-lib libpcre*
52private-tmp 52private-tmp
53 53
54dbus-user none 54dbus-user none
diff --git a/etc/profile-m-z/quodlibet.profile b/etc/profile-m-z/quodlibet.profile
new file mode 100644
index 000000000..e3680dcf1
--- /dev/null
+++ b/etc/profile-m-z/quodlibet.profile
@@ -0,0 +1,66 @@
1# Firejail profile for quodlibet
2# Description: Music player and music library manager
3# This file is overwritten after every install/update
4# Persistent local customizations
5include quodlibet.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.cache/quodlibet
10noblacklist ${HOME}/.config/quodlibet
11noblacklist ${HOME}/.quodlibet
12noblacklist ${MUSIC}
13
14include allow-bin-sh.inc
15
16# Allow python (blacklisted by disable-interpreters.inc)
17include allow-python2.inc
18include allow-python3.inc
19
20include disable-common.inc
21include disable-devel.inc
22include disable-exec.inc
23include disable-interpreters.inc
24include disable-passwdmgr.inc
25include disable-programs.inc
26include disable-shell.inc
27include disable-xdg.inc
28
29mkdir ${HOME}/.cache/quodlibet
30mkdir ${HOME}/.config/quodlibet
31mkdir ${HOME}/.quodlibet
32
33whitelist ${HOME}/.cache/quodlibet
34whitelist ${HOME}/.config/quodlibet
35whitelist ${HOME}/.quodlibet
36whitelist ${DOWNLOADS}
37whitelist ${MUSIC}
38include whitelist-common.inc
39include whitelist-runuser-common.inc
40include whitelist-usr-share-common.inc
41include whitelist-var-common.inc
42
43apparmor
44caps.drop all
45netfilter
46no3d
47nodvd
48nogroups
49nonewprivs
50noroot
51notv
52nou2f
53novideo
54protocol unix,inet,inet6
55seccomp
56seccomp.block-secondary
57shell none
58tracelog
59
60private-bin exfalso,operon,python*,quodlibet,sh
61private-cache
62private-dev
63private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,gtk-3.0,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,passwd,pki,pulse,resolv.conf,ssl
64private-tmp
65
66dbus-system none
diff --git a/etc/profile-m-z/tmux.profile b/etc/profile-m-z/tmux.profile
new file mode 100644
index 000000000..706f39f24
--- /dev/null
+++ b/etc/profile-m-z/tmux.profile
@@ -0,0 +1,45 @@
1# Firejail profile for tmux
2# Description: terminal multiplexer
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include tmux.local
7# Persistent global definitions
8include globals.local
9
10blacklist /tmp/.X11-unix
11blacklist ${RUNUSER}
12
13noblacklist /tmp/tmux-*
14
15# include disable-common.inc
16# include disable-devel.inc
17# include disable-exec.inc
18include disable-passwdmgr.inc
19# include disable-programs.inc
20
21caps.drop all
22ipc-namespace
23machine-id
24netfilter
25no3d
26nodvd
27nogroups
28nonewprivs
29noroot
30nosound
31notv
32nou2f
33novideo
34protocol unix,inet,inet6,netlink
35seccomp
36seccomp.block-secondary
37shell none
38tracelog
39
40# private-cache
41private-dev
42# private-tmp
43
44dbus-user none
45dbus-system none
diff --git a/etc/templates/profile.template b/etc/templates/profile.template
index 065245a63..043e83c58 100644
--- a/etc/templates/profile.template
+++ b/etc/templates/profile.template
@@ -103,6 +103,9 @@ include globals.local
103# Allow ruby (blacklisted by disable-interpreters.inc) 103# Allow ruby (blacklisted by disable-interpreters.inc)
104#include allow-ruby.inc 104#include allow-ruby.inc
105 105
106# Allow /bin/sh (blacklisted by disable-shell.inc)
107#include allow-bin-sh.inc
108
106# Allow ssh (blacklisted by disable-common.inc) 109# Allow ssh (blacklisted by disable-common.inc)
107#include allow-ssh.inc 110#include allow-ssh.inc
108 111
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index be50d5f44..667631c17 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -236,6 +236,7 @@ ffplay
236ffprobe 236ffprobe
237file-roller 237file-roller
238filezilla 238filezilla
239firedragon
239firefox 240firefox
240firefox-beta 241firefox-beta
241firefox-developer-edition 242firefox-developer-edition
diff --git a/src/profstats/main.c b/src/profstats/main.c
index a810a11f8..5035280b1 100644
--- a/src/profstats/main.c
+++ b/src/profstats/main.c
@@ -341,7 +341,7 @@ int main(int argc, char **argv) {
341 printf("Stats:\n"); 341 printf("Stats:\n");
342 printf(" profiles\t\t\t%d\n", cnt_profiles); 342 printf(" profiles\t\t\t%d\n", cnt_profiles);
343 printf(" include local profile\t%d (include profile-name.local)\n", cnt_dotlocal); 343 printf(" include local profile\t%d (include profile-name.local)\n", cnt_dotlocal);
344 printf(" include globals\t\t%d (include globals.local)\n", cnt_dotlocal); 344 printf(" include globals\t\t%d (include globals.local)\n", cnt_globalsdotlocal);
345 printf(" blacklist ~/.ssh\t\t%d (include disable-common.inc)\n", cnt_ssh); 345 printf(" blacklist ~/.ssh\t\t%d (include disable-common.inc)\n", cnt_ssh);
346 printf(" seccomp\t\t\t%d\n", cnt_seccomp); 346 printf(" seccomp\t\t\t%d\n", cnt_seccomp);
347 printf(" capabilities\t\t%d\n", cnt_caps); 347 printf(" capabilities\t\t%d\n", cnt_caps);