aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/inc/whitelist-runuser-common.inc4
-rw-r--r--etc/inc/whitelist-usr-share-common.inc1
-rw-r--r--etc/profile-a-l/chromium-common.profile4
-rw-r--r--etc/profile-a-l/evince.profile2
-rw-r--r--etc/profile-a-l/firefox-common-addons.profile1
-rw-r--r--etc/profile-a-l/firefox.profile6
-rw-r--r--etc/profile-a-l/gallery-dl.profile3
-rw-r--r--etc/profile-a-l/gimp.profile5
-rw-r--r--etc/profile-a-l/librewolf.profile7
-rw-r--r--etc/profile-m-z/nextcloud.profile3
-rw-r--r--etc/profile-m-z/xournalpp.profile1
-rw-r--r--etc/profile-m-z/yt-dlp.profile3
-rw-r--r--etc/templates/profile.template4
14 files changed, 22 insertions, 23 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index 444446156..4941630a2 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -77,6 +77,7 @@ blacklist ${HOME}/.config/Element
77blacklist ${HOME}/.config/Element (Riot) 77blacklist ${HOME}/.config/Element (Riot)
78blacklist ${HOME}/.config/Enox 78blacklist ${HOME}/.config/Enox
79blacklist ${HOME}/.config/Epic 79blacklist ${HOME}/.config/Epic
80blacklist ${HOME}/.config/Exodus
80blacklist ${HOME}/.config/Ferdi 81blacklist ${HOME}/.config/Ferdi
81blacklist ${HOME}/.config/Flavio Tordini 82blacklist ${HOME}/.config/Flavio Tordini
82blacklist ${HOME}/.config/Franz 83blacklist ${HOME}/.config/Franz
diff --git a/etc/inc/whitelist-runuser-common.inc b/etc/inc/whitelist-runuser-common.inc
index 48309ffe3..a8cab8d07 100644
--- a/etc/inc/whitelist-runuser-common.inc
+++ b/etc/inc/whitelist-runuser-common.inc
@@ -10,7 +10,7 @@ whitelist ${RUNUSER}/gdm/Xauthority
10whitelist ${RUNUSER}/ICEauthority 10whitelist ${RUNUSER}/ICEauthority
11whitelist ${RUNUSER}/.mutter-Xwaylandauth.* 11whitelist ${RUNUSER}/.mutter-Xwaylandauth.*
12whitelist ${RUNUSER}/pulse/native 12whitelist ${RUNUSER}/pulse/native
13whitelist ${RUNUSER}/wayland-0 13whitelist ${RUNUSER}/pipewire-?
14whitelist ${RUNUSER}/wayland-1 14whitelist ${RUNUSER}/wayland-?
15whitelist ${RUNUSER}/xauth_* 15whitelist ${RUNUSER}/xauth_*
16whitelist ${RUNUSER}/[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]] 16whitelist ${RUNUSER}/[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]-[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]]
diff --git a/etc/inc/whitelist-usr-share-common.inc b/etc/inc/whitelist-usr-share-common.inc
index fe0097934..0049ce804 100644
--- a/etc/inc/whitelist-usr-share-common.inc
+++ b/etc/inc/whitelist-usr-share-common.inc
@@ -45,6 +45,7 @@ whitelist /usr/share/myspell
45whitelist /usr/share/p11-kit 45whitelist /usr/share/p11-kit
46whitelist /usr/share/perl 46whitelist /usr/share/perl
47whitelist /usr/share/perl5 47whitelist /usr/share/perl5
48whitelist /usr/share/pipewire
48whitelist /usr/share/pixmaps 49whitelist /usr/share/pixmaps
49whitelist /usr/share/pki 50whitelist /usr/share/pki
50whitelist /usr/share/plasma 51whitelist /usr/share/plasma
diff --git a/etc/profile-a-l/chromium-common.profile b/etc/profile-a-l/chromium-common.profile
index b35b6ae80..c42243e02 100644
--- a/etc/profile-a-l/chromium-common.profile
+++ b/etc/profile-a-l/chromium-common.profile
@@ -37,10 +37,6 @@ include whitelist-var-common.inc
37# Add the next line to your chromium-common.local if your kernel allows unprivileged userns clone. 37# Add the next line to your chromium-common.local if your kernel allows unprivileged userns clone.
38#include chromium-common-hardened.inc.profile 38#include chromium-common-hardened.inc.profile
39 39
40# Add the next two lines to your chromium-common.local to allow screen sharing under wayland.
41#whitelist ${RUNUSER}/pipewire-0
42#whitelist /usr/share/pipewire/client.conf
43
44apparmor 40apparmor
45caps.keep sys_admin,sys_chroot 41caps.keep sys_admin,sys_chroot
46netfilter 42netfilter
diff --git a/etc/profile-a-l/evince.profile b/etc/profile-a-l/evince.profile
index 77fb458ca..19ad5799c 100644
--- a/etc/profile-a-l/evince.profile
+++ b/etc/profile-a-l/evince.profile
@@ -56,7 +56,7 @@ private-cache
56private-dev 56private-dev
57private-etc alternatives,fonts,group,ld.so.cache,machine-id,passwd 57private-etc alternatives,fonts,group,ld.so.cache,machine-id,passwd
58# private-lib might break two-page-view on some systems 58# private-lib might break two-page-view on some systems
59private-lib evince,gcc/*/*/libgcc_s.so.*,gcc/*/*/libstdc++.so.*,gconv,gdk-pixbuf-2.*,gio,gvfs/libgvfscommon.so,libdjvulibre.so.*,libgconf-2.so.*,libgraphite2.so.*,libpoppler-glib.so.*,librsvg-2.so.*,libspectre.so.* 59private-lib evince,gcc/*/*/libgcc_s.so.*,gcc/*/*/libstdc++.so.*,gconv,gdk-pixbuf-2.*,gio,gvfs/libgvfscommon.so,libarchive.so.*,libdjvulibre.so.*,libgconf-2.so.*,libgraphite2.so.*,libpoppler-glib.so.*,librsvg-2.so.*,libspectre.so.*
60private-tmp 60private-tmp
61 61
62# dbus-user filtering might break two-page-view on some systems 62# dbus-user filtering might break two-page-view on some systems
diff --git a/etc/profile-a-l/firefox-common-addons.profile b/etc/profile-a-l/firefox-common-addons.profile
index d282f9a60..b2b7c362a 100644
--- a/etc/profile-a-l/firefox-common-addons.profile
+++ b/etc/profile-a-l/firefox-common-addons.profile
@@ -2,6 +2,7 @@
2# Persistent customizations should go in a .local file. 2# Persistent customizations should go in a .local file.
3include firefox-common-addons.local 3include firefox-common-addons.local
4 4
5ignore whitelist ${RUNUSER}/*firefox*
5ignore include whitelist-runuser-common.inc 6ignore include whitelist-runuser-common.inc
6ignore private-cache 7ignore private-cache
7 8
diff --git a/etc/profile-a-l/firefox.profile b/etc/profile-a-l/firefox.profile
index 5a123d081..9138fed90 100644
--- a/etc/profile-a-l/firefox.profile
+++ b/etc/profile-a-l/firefox.profile
@@ -58,10 +58,8 @@ dbus-user.own org.mpris.MediaPlayer2.firefox.*
58#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration 58#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
59#dbus-user.talk org.kde.JobViewServer 59#dbus-user.talk org.kde.JobViewServer
60#dbus-user.talk org.kde.kuiserver 60#dbus-user.talk org.kde.kuiserver
61# Add the next three lines to your firefox.local to allow screen sharing under wayland. 61# Add the next line to your firefox.local to allow screen sharing under wayland.
62#whitelist ${RUNUSER}/pipewire-0 62#dbus-user.talk org.freedesktop.portal.Desktop
63#whitelist /usr/share/pipewire/client.conf
64#dbus-user.talk org.freedesktop.portal.*
65# Add the next line to your firefox.local if screen sharing sharing still does not work 63# Add the next line to your firefox.local if screen sharing sharing still does not work
66# with the above lines (might depend on the portal implementation). 64# with the above lines (might depend on the portal implementation).
67#ignore noroot 65#ignore noroot
diff --git a/etc/profile-a-l/gallery-dl.profile b/etc/profile-a-l/gallery-dl.profile
index b2f482835..9c8200dc4 100644
--- a/etc/profile-a-l/gallery-dl.profile
+++ b/etc/profile-a-l/gallery-dl.profile
@@ -5,7 +5,8 @@ quiet
5# Persistent local customizations 5# Persistent local customizations
6include gallery-dl.local 6include gallery-dl.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8# added by included profile
9#include globals.local
9 10
10noblacklist ${HOME}/.config/gallery-dl 11noblacklist ${HOME}/.config/gallery-dl
11noblacklist ${HOME}/.gallery-dl.conf 12noblacklist ${HOME}/.gallery-dl.conf
diff --git a/etc/profile-a-l/gimp.profile b/etc/profile-a-l/gimp.profile
index 0786da6df..df9c2ac7a 100644
--- a/etc/profile-a-l/gimp.profile
+++ b/etc/profile-a-l/gimp.profile
@@ -13,7 +13,6 @@ include globals.local
13#ignore net 13#ignore net
14#protocol unix,inet,inet6 14#protocol unix,inet,inet6
15 15
16
17# gimp plugins are installed by the user in ${HOME}/.gimp-2.8/plug-ins/ directory 16# gimp plugins are installed by the user in ${HOME}/.gimp-2.8/plug-ins/ directory
18# If you are not using external plugins, you can add 'noexec ${HOME}' to your gimp.local. 17# If you are not using external plugins, you can add 'noexec ${HOME}' to your gimp.local.
19ignore noexec ${HOME} 18ignore noexec ${HOME}
@@ -26,6 +25,10 @@ noblacklist ${HOME}/.gimp*
26noblacklist ${DOCUMENTS} 25noblacklist ${DOCUMENTS}
27noblacklist ${PICTURES} 26noblacklist ${PICTURES}
28 27
28# See issue #4367, gimp 2.10.22-3: gegl:introspect broken
29noblacklist /sbin
30noblacklist /usr/sbin
31
29include disable-common.inc 32include disable-common.inc
30include disable-exec.inc 33include disable-exec.inc
31include disable-devel.inc 34include disable-devel.inc
diff --git a/etc/profile-a-l/librewolf.profile b/etc/profile-a-l/librewolf.profile
index da047357a..ebffbbabf 100644
--- a/etc/profile-a-l/librewolf.profile
+++ b/etc/profile-a-l/librewolf.profile
@@ -36,6 +36,7 @@ include whitelist-usr-share-common.inc
36#private-etc librewolf 36#private-etc librewolf
37 37
38dbus-user filter 38dbus-user filter
39dbus-user.own org.mozilla.librewolf.*
39# Add the next line to your librewolf.local to enable native notifications. 40# Add the next line to your librewolf.local to enable native notifications.
40#dbus-user.talk org.freedesktop.Notifications 41#dbus-user.talk org.freedesktop.Notifications
41# Add the next line to your librewolf.local to allow inhibiting screensavers. 42# Add the next line to your librewolf.local to allow inhibiting screensavers.
@@ -44,10 +45,8 @@ dbus-user filter
44#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration 45#dbus-user.own org.mpris.MediaPlayer2.plasma-browser-integration
45#dbus-user.talk org.kde.JobViewServer 46#dbus-user.talk org.kde.JobViewServer
46#dbus-user.talk org.kde.kuiserver 47#dbus-user.talk org.kde.kuiserver
47# Add the next three lines to your librewolf.local to allow screensharing under Wayland. 48# Add the next line to your librewolf.local to allow screensharing under Wayland.
48#whitelist ${RUNUSER}/pipewire-0 49#dbus-user.talk org.freedesktop.portal.Desktop
49#whitelist /usr/share/pipewire/client.conf
50#dbus-user.talk org.freedesktop.portal.*
51# Also add the next line to your librewolf.local if screensharing does not work with 50# Also add the next line to your librewolf.local if screensharing does not work with
52# the above lines (depends on the portal implementation). 51# the above lines (depends on the portal implementation).
53#ignore noroot 52#ignore noroot
diff --git a/etc/profile-m-z/nextcloud.profile b/etc/profile-m-z/nextcloud.profile
index 06e19670a..cb499ba34 100644
--- a/etc/profile-m-z/nextcloud.profile
+++ b/etc/profile-m-z/nextcloud.profile
@@ -43,7 +43,6 @@ apparmor
43caps.drop all 43caps.drop all
44machine-id 44machine-id
45netfilter 45netfilter
46no3d
47nodvd 46nodvd
48nogroups 47nogroups
49noinput 48noinput
@@ -68,4 +67,6 @@ private-tmp
68 67
69dbus-user filter 68dbus-user filter
70dbus-user.talk org.freedesktop.secrets 69dbus-user.talk org.freedesktop.secrets
70# Add the next line to your nextcloud.local for tray icon support
71#dbus-user.talk org.kde.StatusNotifierWatcher
71dbus-system none 72dbus-system none
diff --git a/etc/profile-m-z/xournalpp.profile b/etc/profile-m-z/xournalpp.profile
index 1ef789689..a23ad68df 100644
--- a/etc/profile-m-z/xournalpp.profile
+++ b/etc/profile-m-z/xournalpp.profile
@@ -13,7 +13,6 @@ noblacklist ${HOME}/.xournalpp
13 13
14include allow-lua.inc 14include allow-lua.inc
15 15
16whitelist /usr/share/pipewire
17whitelist /usr/share/texlive 16whitelist /usr/share/texlive
18whitelist /usr/share/xournalpp 17whitelist /usr/share/xournalpp
19whitelist /var/lib/texmf 18whitelist /var/lib/texmf
diff --git a/etc/profile-m-z/yt-dlp.profile b/etc/profile-m-z/yt-dlp.profile
index ab90c837e..1c3382a08 100644
--- a/etc/profile-m-z/yt-dlp.profile
+++ b/etc/profile-m-z/yt-dlp.profile
@@ -5,7 +5,8 @@ quiet
5# Persistent local customizations 5# Persistent local customizations
6include yt-dlp.local 6include yt-dlp.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8# added by included profile
9#include globals.local
9 10
10noblacklist ${HOME}/.cache/yt-dlp 11noblacklist ${HOME}/.cache/yt-dlp
11noblacklist ${HOME}/.config/yt-dlp 12noblacklist ${HOME}/.config/yt-dlp
diff --git a/etc/templates/profile.template b/etc/templates/profile.template
index 02dcefd35..e580a0c0c 100644
--- a/etc/templates/profile.template
+++ b/etc/templates/profile.template
@@ -102,8 +102,6 @@ include globals.local
102#include allow-ssh.inc 102#include allow-ssh.inc
103 103
104##blacklist PATH 104##blacklist PATH
105# Disable X11 (CLI only), see also 'x11 none' below
106#blacklist /tmp/.X11-unix
107# Disable Wayland 105# Disable Wayland
108#blacklist ${RUNUSER}/wayland-* 106#blacklist ${RUNUSER}/wayland-*
109# Disable RUNUSER (cli only; supersedes Disable Wayland) 107# Disable RUNUSER (cli only; supersedes Disable Wayland)
@@ -174,7 +172,7 @@ include globals.local
174##seccomp-error-action log (only for debugging seccomp issues) 172##seccomp-error-action log (only for debugging seccomp issues)
175#shell none 173#shell none
176#tracelog 174#tracelog
177# Prefer 'x11 none' instead of 'blacklist /tmp/.X11-unix' if 'net none' is set 175# Prefer 'x11 none' instead of 'disable-X11.inc' if 'net none' is set
178##x11 none 176##x11 none
179 177
180#disable-mnt 178#disable-mnt