From 59e896e6a074f119c35ab7ca855f0c1fb7dd9ae5 Mon Sep 17 00:00:00 2001 From: kortewegdevries Date: Sat, 25 Jul 2020 15:38:30 +0530 Subject: Added xfce4-screenshooter profile Initial,removed common blaclist,add netfilter,private-etc --- etc/profile-m-z/xfce4-screenshooter.profile | 51 +++++++++++++++++++++++++++++ src/firecfg/firecfg.config | 1 + 2 files changed, 52 insertions(+) create mode 100644 etc/profile-m-z/xfce4-screenshooter.profile diff --git a/etc/profile-m-z/xfce4-screenshooter.profile b/etc/profile-m-z/xfce4-screenshooter.profile new file mode 100644 index 000000000..f04dc0a67 --- /dev/null +++ b/etc/profile-m-z/xfce4-screenshooter.profile @@ -0,0 +1,51 @@ +# Firejail profile for xfce4-screenshooter +# Description: Xfce screenshot tool +# This file is overwritten after every install/update +# Persistent local customizations +include xfce4-screenshooter.local +# Persistent global definitions +include globals.local + +noblacklist ${PICTURES} + +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-xdg.inc + +whitelist /usr/share/xfce4 +include whitelist-usr-share-common.inc +include whitelist-runuser-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +machine-id +netfilter +no3d +nodvd +nogroups +nonewprivs +noroot +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +tracelog + +disable-mnt +private-bin xfconf-query,xfce4-screenshooter +private-dev +private-etc ca-certificates,crypto-policies,dconf,fonts,gtk-3.0,pki,resolv.conf,ssl +private-tmp + +dbus-user none +dbus-system none + +memory-deny-write-execute diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index fd8d21268..07887a396 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config @@ -784,6 +784,7 @@ xfburn xfce4-dict xfce4-mixer xfce4-notes +xfce4-screenshooter xiphos xlinks xmms -- cgit v1.2.3-54-g00ecf