aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/session-desktop.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/session-desktop.profile')
-rw-r--r--etc/profile-m-z/session-desktop.profile71
1 files changed, 71 insertions, 0 deletions
diff --git a/etc/profile-m-z/session-desktop.profile b/etc/profile-m-z/session-desktop.profile
new file mode 100644
index 000000000..b1076b080
--- /dev/null
+++ b/etc/profile-m-z/session-desktop.profile
@@ -0,0 +1,71 @@
1# Firejail profile for session-desktop
2# Description: Encrypted messenger
3# This file is overwritten after every install/update
4# Persistent local customizations
5include session-desktop.local
6# Persistent global definitions
7include globals.local
8
9blacklist /usr/libexec
10
11ignore noexec /tmp
12
13noblacklist ${HOME}/.config/Session
14
15include disable-common.inc
16include disable-devel.inc
17include disable-exec.inc
18include disable-interpreters.inc
19include disable-proc.inc
20include disable-programs.inc
21include disable-shell.inc
22include disable-xdg.inc
23
24mkdir ${HOME}/.config/Session
25whitelist ${DOWNLOADS}
26whitelist ${HOME}/.config/Session
27whitelist /opt/Session
28whitelist /opt/session-desktop
29include whitelist-common.inc
30include whitelist-run-common.inc
31include whitelist-runuser-common.inc
32include whitelist-usr-share-common.inc
33include whitelist-var-common.inc
34
35apparmor
36caps.drop all
37ipc-namespace
38netfilter
39nodvd
40nogroups
41?HAS_APPIMAGE: ignore noinput
42noinput
43nonewprivs
44noprinters
45noroot
46notv
47nou2f
48protocol unix,inet,inet6,netlink
49seccomp !chroot
50seccomp.block-secondary
51tracelog
52
53disable-mnt
54private-bin session-desktop*,session-messenger-desktop*
55private-cache
56?HAS_APPIMAGE: ignore private-dev
57private-dev
58private-etc @network,@tls-ca,@x11
59private-tmp
60
61dbus-user filter
62dbus-user.talk org.freedesktop.impl.*
63dbus-user.talk org.freedesktop.Notifications
64dbus-user.talk org.freedesktop.portal.*
65dbus-user.talk org.freedesktop.secrets
66?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
67?ALLOW_TRAY: dbus-user.own org.kde.*
68dbus-system none
69
70# breaks app
71#restrict-namespaces