aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r--etc/profile-a-l/1password.profile20
-rw-r--r--etc/profile-a-l/akonadi_control.profile1
-rw-r--r--etc/profile-a-l/chromium-common.profile1
-rw-r--r--etc/profile-a-l/cointop.profile63
-rw-r--r--etc/profile-a-l/firefox-common.profile1
-rw-r--r--etc/profile-a-l/kmail.profile1
-rw-r--r--etc/profile-a-l/lutris.profile3
7 files changed, 90 insertions, 0 deletions
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
5include 1password.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/1Password
10
11mkdir ${HOME}/.config/1Password
12whitelist ${HOME}/.config/1Password
13
14private-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
17ignore dbus-user none
18
19# Redirect
20include 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
17noblacklist ${HOME}/.local/share/contacts 17noblacklist ${HOME}/.local/share/contacts
18noblacklist ${HOME}/.local/share/local-mail 18noblacklist ${HOME}/.local/share/local-mail
19noblacklist ${HOME}/.local/share/notes 19noblacklist ${HOME}/.local/share/notes
20noblacklist ${RUNUSER}/akonadi
20noblacklist /sbin 21noblacklist /sbin
21noblacklist /tmp/akonadi-* 22noblacklist /tmp/akonadi-*
22noblacklist /usr/sbin 23noblacklist /usr/sbin
diff --git a/etc/profile-a-l/chromium-common.profile b/etc/profile-a-l/chromium-common.profile
index 075cac967..998ffd9da 100644
--- a/etc/profile-a-l/chromium-common.profile
+++ b/etc/profile-a-l/chromium-common.profile
@@ -57,6 +57,7 @@ private-cache
57 57
58blacklist ${PATH}/curl 58blacklist ${PATH}/curl
59blacklist ${PATH}/wget 59blacklist ${PATH}/wget
60blacklist ${PATH}/wget2
60 61
61#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.
62dbus-system none 63dbus-system none
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
5include cointop.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.config/cointop
10
11blacklist ${RUNUSER}
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-proc.inc
18include disable-programs.inc
19include disable-shell.inc
20include disable-X11.inc
21include disable-xdg.inc
22
23mkdir ${HOME}/.config/cointop
24whitelist ${HOME}/.config/cointop
25include whitelist-common.inc
26include whitelist-runuser-common.inc
27include whitelist-usr-share-common.inc
28include whitelist-var-common.inc
29
30apparmor
31caps.drop all
32ipc-namespace
33machine-id
34netfilter
35no3d
36nodvd
37nogroups
38noinput
39nonewprivs
40noprinters
41noroot
42nosound
43notv
44nou2f
45novideo
46protocol inet,inet6
47seccomp
48seccomp.block-secondary
49shell none
50tracelog
51
52disable-mnt
53private-bin cointop
54private-cache
55private-dev
56private-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
57private-lib
58private-tmp
59
60dbus-user none
61dbus-system none
62
63memory-deny-write-execute
diff --git a/etc/profile-a-l/firefox-common.profile b/etc/profile-a-l/firefox-common.profile
index 2fe12843e..373f41ffe 100644
--- a/etc/profile-a-l/firefox-common.profile
+++ b/etc/profile-a-l/firefox-common.profile
@@ -61,6 +61,7 @@ private-tmp
61 61
62blacklist ${PATH}/curl 62blacklist ${PATH}/curl
63blacklist ${PATH}/wget 63blacklist ${PATH}/wget
64blacklist ${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/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
29noblacklist ${HOME}/.local/share/kxmlgui5/kmail2 29noblacklist ${HOME}/.local/share/kxmlgui5/kmail2
30noblacklist ${HOME}/.local/share/local-mail 30noblacklist ${HOME}/.local/share/local-mail
31noblacklist ${HOME}/.local/share/notes 31noblacklist ${HOME}/.local/share/notes
32noblacklist ${RUNUSER}/akonadi
32noblacklist /tmp/akonadi-* 33noblacklist /tmp/akonadi-*
33 34
34include disable-common.inc 35include disable-common.inc
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
9noblacklist ${PATH}/llvm* 9noblacklist ${PATH}/llvm*
10noblacklist ${HOME}/Games 10noblacklist ${HOME}/Games
11noblacklist ${HOME}/.cache/lutris 11noblacklist ${HOME}/.cache/lutris
12noblacklist ${HOME}/.cache/wine
12noblacklist ${HOME}/.cache/winetricks 13noblacklist ${HOME}/.cache/winetricks
13noblacklist ${HOME}/.config/lutris 14noblacklist ${HOME}/.config/lutris
14noblacklist ${HOME}/.local/share/lutris 15noblacklist ${HOME}/.local/share/lutris
@@ -34,6 +35,7 @@ include disable-xdg.inc
34 35
35mkdir ${HOME}/Games 36mkdir ${HOME}/Games
36mkdir ${HOME}/.cache/lutris 37mkdir ${HOME}/.cache/lutris
38mkdir ${HOME}/.cache/wine
37mkdir ${HOME}/.cache/winetricks 39mkdir ${HOME}/.cache/winetricks
38mkdir ${HOME}/.config/lutris 40mkdir ${HOME}/.config/lutris
39mkdir ${HOME}/.local/share/lutris 41mkdir ${HOME}/.local/share/lutris
@@ -41,6 +43,7 @@ mkdir ${HOME}/.local/share/lutris
41whitelist ${DOWNLOADS} 43whitelist ${DOWNLOADS}
42whitelist ${HOME}/Games 44whitelist ${HOME}/Games
43whitelist ${HOME}/.cache/lutris 45whitelist ${HOME}/.cache/lutris
46whitelist ${HOME}/.cache/wine
44whitelist ${HOME}/.cache/winetricks 47whitelist ${HOME}/.cache/winetricks
45whitelist ${HOME}/.config/lutris 48whitelist ${HOME}/.config/lutris
46whitelist ${HOME}/.local/share/lutris 49whitelist ${HOME}/.local/share/lutris