From 8d9b12d1c61000af20eb3ff39af712939ca8788a Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Mon, 14 Sep 2020 12:23:34 +0200 Subject: New profiles + fixes + hardening - blacklist ~/.rustup in disable-devel.inc - add note to mpv (See #3628) - harden warsow - update relnotes - new profile qrencode, dbus-send, notify-send --- etc/profile-a-l/dbus-send.profile | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 etc/profile-a-l/dbus-send.profile (limited to 'etc/profile-a-l/dbus-send.profile') diff --git a/etc/profile-a-l/dbus-send.profile b/etc/profile-a-l/dbus-send.profile new file mode 100644 index 000000000..76a14d99b --- /dev/null +++ b/etc/profile-a-l/dbus-send.profile @@ -0,0 +1,59 @@ +# Firejail profile for dbus-send +# Description: Send a message to a message bus +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include dbus-send.local +# Persistent global definitions +include globals.local + +blacklist /tmp/.X11-unix +blacklist ${RUNUSER}/wayland-* + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-shell.inc +include disable-write-mnt.inc +include disable-xdg.inc + +include whitelist-common.inc +include whitelist-runuser-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +ipc-namespace +machine-id +# Breaks abstract sockets +#net none +netfilter +no3d +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix +seccomp +shell none +tracelog + +disable-mnt +private +private-bin dbus-send +private-cache +private-dev +private-etc alternatives,dbus-1 +private-lib libpcre2-8.so.0 +private-tmp + +memory-deny-write-execute +read-only ${HOME} -- cgit v1.2.3-54-g00ecf