From 018d75775eab4a0f045949a9d069c57686ca2686 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Tue, 21 Apr 2020 08:24:28 -0400 Subject: reorganize github etc directory --- etc/profile-a-l/dig.profile | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 etc/profile-a-l/dig.profile (limited to 'etc/profile-a-l/dig.profile') diff --git a/etc/profile-a-l/dig.profile b/etc/profile-a-l/dig.profile new file mode 100644 index 000000000..152dfd980 --- /dev/null +++ b/etc/profile-a-l/dig.profile @@ -0,0 +1,60 @@ +# Firejail profile for dig +# Description: DNS lookup utility +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include dig.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.digrc +noblacklist ${PATH}/dig + +blacklist /tmp/.X11-unix +blacklist ${RUNUSER}/wayland-* +blacklist ${RUNUSER} + +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-xdg.inc + +#mkfile ${HOME}/.digrc -- see #903 +whitelist ${HOME}/.digrc +include whitelist-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +apparmor +caps.drop all +ipc-namespace +machine-id +netfilter +no3d +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +tracelog + +disable-mnt +private-bin bash,dig,sh +private-dev +# Uncomment the next line (or put 'private-lib' in your dig.local) on non Debian/Ubuntu OS (see issue #3038) +#private-lib +private-tmp + +dbus-user none +dbus-system none + +memory-deny-write-execute -- cgit v1.2.3-70-g09d2