From 31b92b33cfc827a3215584b50f56418e7fd75be0 Mon Sep 17 00:00:00 2001 From: bbhtt <62639087+bbhtt@users.noreply.github.com> Date: Mon, 28 Dec 2020 14:04:25 +0000 Subject: Add whitelists, remove wrong cache whitelist, add dbus rules, apparmor --- etc/profile-m-z/nheko.profile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/etc/profile-m-z/nheko.profile b/etc/profile-m-z/nheko.profile index 701098f4b..7a3f59159 100644 --- a/etc/profile-m-z/nheko.profile +++ b/etc/profile-m-z/nheko.profile @@ -16,14 +16,19 @@ include disable-interpreters.inc include disable-passwdmgr.inc include disable-programs.inc include disable-shell.inc +include disable-xdg.inc mkdir ${HOME}/.config/nheko mkdir ${HOME}/.cache/nheko/nheko whitelist ${HOME}/.config/nheko -whitelist ${HOME}/.cache/nheko/nheko +whitelist ${HOME}/.cache/nheko whitelist ${DOWNLOADS} include whitelist-common.inc +include whitelist-runuser-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc +apparmor caps.drop all netfilter nodvd @@ -38,5 +43,12 @@ tracelog disable-mnt private-bin nheko +private-cache +private-dev +private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg private-tmp +dbus-user filter +dbus-user.talk org.freedesktop.Notifications +dbus-user.talk org.kde.StatusNotifierWatcher +dbus-system none -- cgit v1.2.3-70-g09d2