aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/landlock-common.inc2
-rw-r--r--etc/profile-a-l/crawl.profile3
-rw-r--r--etc/profile-a-l/enchant-lsmod-2.profile2
-rw-r--r--etc/profile-a-l/geeqie.profile3
-rw-r--r--etc/profile-a-l/gnome-keyring-daemon.profile62
-rw-r--r--etc/profile-a-l/gnome-keyring.profile53
-rw-r--r--etc/profile-m-z/tesseract.profile1
-rw-r--r--etc/templates/profile.template3
8 files changed, 77 insertions, 52 deletions
diff --git a/etc/inc/landlock-common.inc b/etc/inc/landlock-common.inc
index ebe9f98dc..694d447b5 100644
--- a/etc/inc/landlock-common.inc
+++ b/etc/inc/landlock-common.inc
@@ -4,7 +4,7 @@ include landlock-common.local
4 4
5landlock.read / # whole system read 5landlock.read / # whole system read
6landlock.read /proc 6landlock.read /proc
7landlock.special / # sockets etc. 7landlock.makeipc / # sockets etc.
8 8
9# write access 9# write access
10landlock.write ${HOME} 10landlock.write ${HOME}
diff --git a/etc/profile-a-l/crawl.profile b/etc/profile-a-l/crawl.profile
index 7df7b4480..9545fb8bc 100644
--- a/etc/profile-a-l/crawl.profile
+++ b/etc/profile-a-l/crawl.profile
@@ -8,6 +8,9 @@ include globals.local
8 8
9noblacklist ${HOME}/.crawl 9noblacklist ${HOME}/.crawl
10 10
11# Allow lua (blacklisted by disable-interpreters.inc)
12include allow-lua.inc
13
11include disable-common.inc 14include disable-common.inc
12include disable-devel.inc 15include disable-devel.inc
13include disable-exec.inc 16include disable-exec.inc
diff --git a/etc/profile-a-l/enchant-lsmod-2.profile b/etc/profile-a-l/enchant-lsmod-2.profile
index a7199955e..3fe9e94c0 100644
--- a/etc/profile-a-l/enchant-lsmod-2.profile
+++ b/etc/profile-a-l/enchant-lsmod-2.profile
@@ -7,4 +7,4 @@ include enchant-lsmod-2.local
7#include globals.local 7#include globals.local
8 8
9# Redirect 9# Redirect
10include enchant.profile 10include enchant-2.profile
diff --git a/etc/profile-a-l/geeqie.profile b/etc/profile-a-l/geeqie.profile
index 6cd28f25d..beffb28e3 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 lua (blacklisted by disable-interpreters.inc)
14include allow-lua.inc
15
13# Allow perl (blacklisted by disable-interpreters.inc) 16# Allow perl (blacklisted by disable-interpreters.inc)
14include allow-perl.inc 17include allow-perl.inc
15 18
diff --git a/etc/profile-a-l/gnome-keyring-daemon.profile b/etc/profile-a-l/gnome-keyring-daemon.profile
new file mode 100644
index 000000000..41ea136a6
--- /dev/null
+++ b/etc/profile-a-l/gnome-keyring-daemon.profile
@@ -0,0 +1,62 @@
1# Firejail profile for gnome-keyring-daemon
2# Description: Stores passwords and encryption keys
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include gnome-keyring-daemon.local
7# Persistent global definitions
8include globals.local
9
10blacklist /tmp/.X11-unix
11blacklist ${RUNUSER}/wayland-*
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-programs.inc
18#include disable-X11.inc # x11 none
19include disable-xdg.inc
20
21whitelist ${RUNUSER}/gnupg
22whitelist ${RUNUSER}/keyring
23whitelist /usr/share/gnupg
24whitelist /usr/share/gnupg2
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
40noroot
41nosound
42notv
43nou2f
44novideo
45protocol unix,inet,inet6
46seccomp
47seccomp.block-secondary
48tracelog
49x11 none
50
51disable-mnt
52#private-bin gnome-keyrin*,secret-tool
53private-cache
54private-dev
55#private-lib alternatives,gnome-keyring,libsecret-1.so.*,pkcs11,security
56private-tmp
57
58#dbus-user none
59dbus-system none
60
61memory-deny-write-execute
62restrict-namespaces
diff --git a/etc/profile-a-l/gnome-keyring.profile b/etc/profile-a-l/gnome-keyring.profile
index aa0a7f4cc..287c6dcf9 100644
--- a/etc/profile-a-l/gnome-keyring.profile
+++ b/etc/profile-a-l/gnome-keyring.profile
@@ -1,62 +1,17 @@
1# Firejail profile for gnome-keyring 1# Firejail profile for gnome-keyring
2# Description: Stores passwords and encryption keys 2# Description: Stores passwords and encryption keys
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations 4# Persistent local customizations
6include gnome-keyring.local 5include gnome-keyring.local
7# Persistent global definitions 6# Persistent global definitions
8include globals.local 7# added by included profile
8#include globals.local
9 9
10noblacklist ${HOME}/.gnupg 10noblacklist ${HOME}/.gnupg
11 11
12include disable-common.inc
13include disable-devel.inc
14include disable-exec.inc
15include disable-interpreters.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19mkdir ${HOME}/.gnupg 12mkdir ${HOME}/.gnupg
20whitelist ${HOME}/.gnupg 13whitelist ${HOME}/.gnupg
21whitelist ${DOWNLOADS} 14whitelist ${DOWNLOADS}
22whitelist ${RUNUSER}/gnupg
23whitelist ${RUNUSER}/keyring
24whitelist /usr/share/gnupg
25whitelist /usr/share/gnupg2
26include whitelist-common.inc
27include whitelist-runuser-common.inc
28include whitelist-usr-share-common.inc
29include whitelist-var-common.inc
30
31apparmor
32caps.drop all
33ipc-namespace
34machine-id
35netfilter
36no3d
37nodvd
38nogroups
39noinput
40nonewprivs
41noroot
42nosound
43notv
44nou2f
45novideo
46protocol unix,inet,inet6
47seccomp
48seccomp.block-secondary
49tracelog
50
51disable-mnt
52#private-bin gnome-keyrin*,secret-tool
53private-cache
54private-dev
55#private-lib alternatives,gnome-keyring,libsecret-1.so.*,pkcs11,security
56private-tmp
57
58#dbus-user none
59dbus-system none
60 15
61memory-deny-write-execute 16# Redirect
62restrict-namespaces 17include gnome-keyring-daemon.profile
diff --git a/etc/profile-m-z/tesseract.profile b/etc/profile-m-z/tesseract.profile
index c0293406d..5d2ea4ae6 100644
--- a/etc/profile-m-z/tesseract.profile
+++ b/etc/profile-m-z/tesseract.profile
@@ -1,6 +1,7 @@
1# Firejail profile for tesseract 1# Firejail profile for tesseract
2# Description: An OCR program 2# Description: An OCR program
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4quiet
4# Persistent local customizations 5# Persistent local customizations
5include tesseract.local 6include tesseract.local
6# Persistent global definitions 7# Persistent global definitions
diff --git a/etc/templates/profile.template b/etc/templates/profile.template
index 8882c9012..0e6a5734e 100644
--- a/etc/templates/profile.template
+++ b/etc/templates/profile.template
@@ -140,7 +140,8 @@ include globals.local
140# Landlock commands 140# Landlock commands
141##landlock.read PATH 141##landlock.read PATH
142##landlock.write PATH 142##landlock.write PATH
143##landlock.special PATH 143##landlock.makeipc PATH
144##landlock.makedev PATH
144##landlock.execute PATH 145##landlock.execute PATH
145#include landlock-common.inc 146#include landlock-common.inc
146 147