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/Discord.profile13
-rw-r--r--etc/profile-a-l/DiscordCanary.profile13
-rw-r--r--etc/profile-a-l/arduino.profile7
-rw-r--r--etc/profile-a-l/audacity.profile3
-rw-r--r--etc/profile-a-l/chafa.profile55
-rw-r--r--etc/profile-a-l/darktable.profile6
-rw-r--r--etc/profile-a-l/digikam.profile3
-rw-r--r--etc/profile-a-l/discord-canary.profile4
-rw-r--r--etc/profile-a-l/discord-common.profile2
-rw-r--r--etc/profile-a-l/discord.profile4
-rw-r--r--etc/profile-a-l/firefox-developer-edition.profile4
-rw-r--r--etc/profile-a-l/firefox.profile5
-rw-r--r--etc/profile-a-l/gdu.profile46
-rw-r--r--etc/profile-a-l/geeqie.profile3
-rw-r--r--etc/profile-a-l/gtk-lbry-viewer.profile12
-rw-r--r--etc/profile-a-l/hugin.profile5
-rw-r--r--etc/profile-a-l/lbry-viewer.profile21
17 files changed, 167 insertions, 39 deletions
diff --git a/etc/profile-a-l/Discord.profile b/etc/profile-a-l/Discord.profile
index 3f274b21c..68fcf157f 100644
--- a/etc/profile-a-l/Discord.profile
+++ b/etc/profile-a-l/Discord.profile
@@ -3,15 +3,8 @@
3# Persistent local customizations 3# Persistent local customizations
4include Discord.local 4include Discord.local
5# Persistent global definitions 5# Persistent global definitions
6include globals.local 6# added by included profile
7 7#include globals.local
8noblacklist ${HOME}/.config/discord
9
10mkdir ${HOME}/.config/discord
11whitelist ${HOME}/.config/discord
12
13private-bin Discord
14private-opt Discord
15 8
16# Redirect 9# Redirect
17include discord-common.profile 10include discord.profile
diff --git a/etc/profile-a-l/DiscordCanary.profile b/etc/profile-a-l/DiscordCanary.profile
index d24e73ed8..ee6576955 100644
--- a/etc/profile-a-l/DiscordCanary.profile
+++ b/etc/profile-a-l/DiscordCanary.profile
@@ -3,15 +3,8 @@
3# Persistent local customizations 3# Persistent local customizations
4include DiscordCanary.local 4include DiscordCanary.local
5# Persistent global definitions 5# Persistent global definitions
6include globals.local 6# added by included profile
7 7#include globals.local
8noblacklist ${HOME}/.config/discordcanary
9
10mkdir ${HOME}/.config/discordcanary
11whitelist ${HOME}/.config/discordcanary
12
13private-bin DiscordCanary
14private-opt DiscordCanary
15 8
16# Redirect 9# Redirect
17include discord-common.profile 10include discord-canary.profile
diff --git a/etc/profile-a-l/arduino.profile b/etc/profile-a-l/arduino.profile
index 0daab7dcd..bb0bc3513 100644
--- a/etc/profile-a-l/arduino.profile
+++ b/etc/profile-a-l/arduino.profile
@@ -10,13 +10,10 @@ noblacklist ${HOME}/.arduino15
10noblacklist ${HOME}/Arduino 10noblacklist ${HOME}/Arduino
11noblacklist ${DOCUMENTS} 11noblacklist ${DOCUMENTS}
12 12
13# Allow java (blacklisted by disable-devel.inc) 13# Allows files commonly used by IDEs
14include allow-java.inc 14include allow-common-devel.inc
15 15
16include disable-common.inc 16include disable-common.inc
17include disable-devel.inc
18include disable-exec.inc
19include disable-interpreters.inc
20include disable-programs.inc 17include disable-programs.inc
21include disable-xdg.inc 18include disable-xdg.inc
22 19
diff --git a/etc/profile-a-l/audacity.profile b/etc/profile-a-l/audacity.profile
index b517620db..2831fec72 100644
--- a/etc/profile-a-l/audacity.profile
+++ b/etc/profile-a-l/audacity.profile
@@ -20,7 +20,8 @@ include disable-xdg.inc
20 20
21include whitelist-var-common.inc 21include whitelist-var-common.inc
22 22
23apparmor 23## Enabling App Armor appears to break some Fedora / Arch installs
24#apparmor
24caps.drop all 25caps.drop all
25net none 26net none
26no3d 27no3d
diff --git a/etc/profile-a-l/chafa.profile b/etc/profile-a-l/chafa.profile
new file mode 100644
index 000000000..b042ac189
--- /dev/null
+++ b/etc/profile-a-l/chafa.profile
@@ -0,0 +1,55 @@
1# Firejail profile for chafa
2# Description: A terminal-based image viewer and image-to-text converter.
3# This file is overwritten after every install/update
4# Persistent local customizations
5include chafa.local
6# Persistent global definitions
7include globals.local
8
9blacklist ${RUNUSER}
10blacklist /usr/libexec
11
12include disable-common.inc
13include disable-devel.inc
14include disable-exec.inc
15include disable-interpreters.inc
16include disable-proc.inc
17include disable-programs.inc
18include disable-shell.inc
19include disable-write-mnt.inc
20
21include whitelist-run-common.inc
22include whitelist-runuser-common.inc
23# Add the following to your chafa.local if you do not need to view images in
24# /usr/share.
25#include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30machine-id
31net none
32no3d
33nodvd
34nogroups
35noinput
36nonewprivs
37noroot
38nosound
39notv
40nou2f
41novideo
42seccomp socket
43seccomp.block-secondary
44tracelog
45x11 none
46
47private-bin chafa
48private-cache
49private-dev
50private-tmp
51
52dbus-user none
53dbus-system none
54
55read-only ${HOME}
diff --git a/etc/profile-a-l/darktable.profile b/etc/profile-a-l/darktable.profile
index 4ee61b66d..20d5657eb 100644
--- a/etc/profile-a-l/darktable.profile
+++ b/etc/profile-a-l/darktable.profile
@@ -10,8 +10,12 @@ noblacklist ${HOME}/.cache/darktable
10noblacklist ${HOME}/.config/darktable 10noblacklist ${HOME}/.config/darktable
11noblacklist ${PICTURES} 11noblacklist ${PICTURES}
12 12
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
15include disable-common.inc 19include disable-common.inc
16include disable-devel.inc 20include disable-devel.inc
17include disable-exec.inc 21include disable-exec.inc
@@ -33,7 +37,7 @@ novideo
33protocol unix,inet,inet6 37protocol unix,inet,inet6
34seccomp 38seccomp
35 39
36#private-bin darktable 40#private-bin darktable,exiftool,perl
37private-dev 41private-dev
38private-tmp 42private-tmp
39 43
diff --git a/etc/profile-a-l/digikam.profile b/etc/profile-a-l/digikam.profile
index f1056482c..c1f0e3a14 100644
--- a/etc/profile-a-l/digikam.profile
+++ b/etc/profile-a-l/digikam.profile
@@ -13,6 +13,9 @@ noblacklist ${HOME}/.kde4/share/apps/digikam
13noblacklist ${HOME}/.local/share/kxmlgui5/digikam 13noblacklist ${HOME}/.local/share/kxmlgui5/digikam
14noblacklist ${PICTURES} 14noblacklist ${PICTURES}
15 15
16# Allow perl (blacklisted by disable-interpreters.inc)
17include allow-perl.inc
18
16include disable-common.inc 19include disable-common.inc
17include disable-devel.inc 20include disable-devel.inc
18include disable-exec.inc 21include disable-exec.inc
diff --git a/etc/profile-a-l/discord-canary.profile b/etc/profile-a-l/discord-canary.profile
index 43db95b8a..245b07b8d 100644
--- a/etc/profile-a-l/discord-canary.profile
+++ b/etc/profile-a-l/discord-canary.profile
@@ -10,8 +10,8 @@ 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,electron,electron[0-9],electron[0-9][0-9] 13private-bin discord-canary,DiscordCanary
14private-opt discord-canary 14private-opt discord-canary,DiscordCanary
15 15
16# Redirect 16# Redirect
17include discord-common.profile 17include discord-common.profile
diff --git a/etc/profile-a-l/discord-common.profile b/etc/profile-a-l/discord-common.profile
index c04e38899..bf49c8d48 100644
--- a/etc/profile-a-l/discord-common.profile
+++ b/etc/profile-a-l/discord-common.profile
@@ -23,7 +23,7 @@ ignore novideo
23whitelist ${HOME}/.config/BetterDiscord 23whitelist ${HOME}/.config/BetterDiscord
24whitelist ${HOME}/.local/share/betterdiscordctl 24whitelist ${HOME}/.local/share/betterdiscordctl
25 25
26private-bin bash,cut,echo,egrep,electron,electron[0-9],electron[0-9][0-9],fish,grep,head,sed,sh,tclsh,tr,xdg-mime,xdg-open,zsh 26private-bin awk,bash,cut,echo,egrep,electron,electron[0-9],electron[0-9][0-9],fish,grep,head,sed,sh,tclsh,tr,which,xdg-mime,xdg-open,zsh
27private-etc alternatives,ca-certificates,crypto-policies,fonts,group,ld.so.cache,ld.so.preload,localtime,login.defs,machine-id,password,pki,pulse,resolv.conf,ssl 27private-etc alternatives,ca-certificates,crypto-policies,fonts,group,ld.so.cache,ld.so.preload,localtime,login.defs,machine-id,password,pki,pulse,resolv.conf,ssl
28 28
29join-or-start discord 29join-or-start discord
diff --git a/etc/profile-a-l/discord.profile b/etc/profile-a-l/discord.profile
index 8ef02a30f..02d1c65cd 100644
--- a/etc/profile-a-l/discord.profile
+++ b/etc/profile-a-l/discord.profile
@@ -10,8 +10,8 @@ noblacklist ${HOME}/.config/discord
10mkdir ${HOME}/.config/discord 10mkdir ${HOME}/.config/discord
11whitelist ${HOME}/.config/discord 11whitelist ${HOME}/.config/discord
12 12
13private-bin discord 13private-bin discord,Discord
14private-opt discord 14private-opt discord,Discord
15 15
16# Redirect 16# Redirect
17include discord-common.profile 17include discord-common.profile
diff --git a/etc/profile-a-l/firefox-developer-edition.profile b/etc/profile-a-l/firefox-developer-edition.profile
index 3a9b8cf92..8c7ca3887 100644
--- a/etc/profile-a-l/firefox-developer-edition.profile
+++ b/etc/profile-a-l/firefox-developer-edition.profile
@@ -7,9 +7,5 @@ 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
11dbus-user.own org.mozilla.FirefoxDeveloperEdition.*
12dbus-user.own org.mozilla.firefoxdeveloperedition.*
13
14# Redirect 10# Redirect
15include firefox.profile 11include firefox.profile
diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile
index 9138fed90..0e1d30958 100644
--- a/etc/profile-a-l/firefox.profile
+++ b/etc/profile-a-l/firefox.profile
@@ -17,6 +17,7 @@ include globals.local
17noblacklist ${HOME}/.cache/mozilla 17noblacklist ${HOME}/.cache/mozilla
18noblacklist ${HOME}/.mozilla 18noblacklist ${HOME}/.mozilla
19noblacklist ${RUNUSER}/*firefox* 19noblacklist ${RUNUSER}/*firefox*
20noblacklist ${RUNUSER}/psd/*firefox*
20 21
21blacklist /usr/libexec 22blacklist /usr/libexec
22 23
@@ -37,6 +38,7 @@ whitelist /usr/share/gtk-doc/html
37whitelist /usr/share/mozilla 38whitelist /usr/share/mozilla
38whitelist /usr/share/webext 39whitelist /usr/share/webext
39whitelist ${RUNUSER}/*firefox* 40whitelist ${RUNUSER}/*firefox*
41whitelist ${RUNUSER}/psd/*firefox*
40include whitelist-usr-share-common.inc 42include whitelist-usr-share-common.inc
41 43
42# firefox requires a shell to launch on Arch - add the next line to your firefox.local to enable private-bin. 44# firefox requires a shell to launch on Arch - add the next line to your firefox.local to enable private-bin.
@@ -47,8 +49,7 @@ include whitelist-usr-share-common.inc
47#private-etc firefox 49#private-etc firefox
48 50
49dbus-user filter 51dbus-user filter
50dbus-user.own org.mozilla.Firefox.* 52dbus-user.own org.mozilla.*
51dbus-user.own org.mozilla.firefox.*
52dbus-user.own org.mpris.MediaPlayer2.firefox.* 53dbus-user.own org.mpris.MediaPlayer2.firefox.*
53# Add the next line to your firefox.local to enable native notifications. 54# Add the next line to your firefox.local to enable native notifications.
54#dbus-user.talk org.freedesktop.Notifications 55#dbus-user.talk org.freedesktop.Notifications
diff --git a/etc/profile-a-l/gdu.profile b/etc/profile-a-l/gdu.profile
new file mode 100644
index 000000000..783183bea
--- /dev/null
+++ b/etc/profile-a-l/gdu.profile
@@ -0,0 +1,46 @@
1# Firejail profile for gdu
2# Description: Fast disk usage analyzer with console interface
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include gdu.local
7# Persistent global definitions
8include globals.local
9
10blacklist ${RUNUSER}/wayland-*
11
12include disable-exec.inc
13
14apparmor
15caps.drop all
16ipc-namespace
17machine-id
18net none
19no3d
20nodvd
21nogroups
22noinput
23nonewprivs
24noroot
25nosound
26notv
27nou2f
28novideo
29# block the socket syscall to simulate an be empty protocol line, see #639
30seccomp socket
31seccomp.block-secondary
32x11 none
33
34private-dev
35
36dbus-user none
37dbus-system none
38
39memory-deny-write-execute
40
41# gdu has built-in delete (d), empty (e) dir/file support and shell spawning (b) features.
42# Depending on workflow and use case the sandbox can be hardened by adding the
43# lines below to your gdu.local if you don't need/want these functionalities.
44#include disable-shell.inc
45#private-bin gdu
46#read-only ${HOME}
diff --git a/etc/profile-a-l/geeqie.profile b/etc/profile-a-l/geeqie.profile
index 81574517d..268c3b334 100644
--- a/etc/profile-a-l/geeqie.profile
+++ b/etc/profile-a-l/geeqie.profile
@@ -10,6 +10,9 @@ noblacklist ${HOME}/.cache/geeqie
10noblacklist ${HOME}/.config/geeqie 10noblacklist ${HOME}/.config/geeqie
11noblacklist ${HOME}/.local/share/geeqie 11noblacklist ${HOME}/.local/share/geeqie
12 12
13# Allow perl (blacklisted by disable-interpreters.inc)
14include allow-perl.inc
15
13include disable-common.inc 16include disable-common.inc
14include disable-devel.inc 17include disable-devel.inc
15include disable-interpreters.inc 18include disable-interpreters.inc
diff --git a/etc/profile-a-l/gtk-lbry-viewer.profile b/etc/profile-a-l/gtk-lbry-viewer.profile
new file mode 100644
index 000000000..e1fb53b16
--- /dev/null
+++ b/etc/profile-a-l/gtk-lbry-viewer.profile
@@ -0,0 +1,12 @@
1# Firejail profile for gtk-lbry-viewer
2# Description: Gtk front-end to lbry-viewer
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gtk-lbry-viewer.local
6# added by included profile
7#include globals.local
8
9ignore quiet
10
11# Redirect
12include lbry-viewer.profile
diff --git a/etc/profile-a-l/hugin.profile b/etc/profile-a-l/hugin.profile
index fc142e2dc..d4587a303 100644
--- a/etc/profile-a-l/hugin.profile
+++ b/etc/profile-a-l/hugin.profile
@@ -13,6 +13,9 @@ noblacklist ${PICTURES}
13# Allow /bin/sh (blacklisted by disable-shell.inc) 13# Allow /bin/sh (blacklisted by disable-shell.inc)
14include allow-bin-sh.inc 14include allow-bin-sh.inc
15 15
16# Allow perl (blacklisted by disable-interpreters.inc)
17include allow-perl.inc
18
16include disable-common.inc 19include disable-common.inc
17include disable-devel.inc 20include disable-devel.inc
18include disable-exec.inc 21include disable-exec.inc
@@ -35,7 +38,7 @@ novideo
35protocol unix 38protocol unix
36seccomp 39seccomp
37 40
38private-bin align_image_stack,autooptimiser,calibrate_lens_gui,celeste_standalone,checkpto,cpclean,cpfind,deghosting_mask,enblend,fulla,geocpset,hugin,hugin_executor,hugin_hdrmerge,hugin_lensdb,hugin_stitch_project,icpfind,linefind,nona,pano_modify,pano_trafo,PTBatcherGUI,pto_gen,pto_lensstack,pto_mask,pto_merge,pto_move,pto_template,pto_var,sh,tca_correct,uname,verdandi,vig_optimize 41private-bin align_image_stack,autooptimiser,calibrate_lens_gui,celeste_standalone,checkpto,cpclean,cpfind,deghosting_mask,enblend,exiftool,fulla,geocpset,hugin,hugin_executor,hugin_hdrmerge,hugin_lensdb,hugin_stitch_project,icpfind,linefind,nona,pano_modify,pano_trafo,perl,PTBatcherGUI,pto_gen,pto_lensstack,pto_mask,pto_merge,pto_move,pto_template,pto_var,sh,tca_correct,uname,verdandi,vig_optimize
39private-cache 42private-cache
40private-dev 43private-dev
41private-tmp 44private-tmp
diff --git a/etc/profile-a-l/lbry-viewer.profile b/etc/profile-a-l/lbry-viewer.profile
new file mode 100644
index 000000000..f6a02ac83
--- /dev/null
+++ b/etc/profile-a-l/lbry-viewer.profile
@@ -0,0 +1,21 @@
1# Firejail profile for lbry-viewer
2# Description:CLI for searching and playing videos from LBRY, with the Librarian frontend
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include lbry-viewer.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${HOME}/.cache/lbry-viewer
11noblacklist ${HOME}/.config/lbry-viewer
12
13mkdir ${HOME}/.config/lbry-viewer
14mkdir ${HOME}/.cache/lbry-viewer
15whitelist ${HOME}/.cache/lbry-viewer
16whitelist ${HOME}/.config/lbry-viewer
17
18private-bin gtk-lbry-viewer,lbry-viewer
19
20# Redirect
21include youtube-viewers-common.profile