From cba5ca031dfafbe9d0e8f0dc5e37c5bbdac77a78 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Wed, 13 Jan 2021 07:02:34 +0000 Subject: [PATCH] new profile: agetpkg (#3887) * Create agetpkg.profile * new profile: agetpkg --- README.md | 2 +- etc/profile-a-l/agetpkg.profile | 60 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 etc/profile-a-l/agetpkg.profile diff --git a/README.md b/README.md index 723223c9283..912d626fe6e 100644 --- a/README.md +++ b/README.md @@ -195,4 +195,4 @@ Stats: ### New profiles: -spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm, marker, yarn, lsarn unar +spectacle, chromium-browser-privacy, gtk-straw-viewer, gtk-youtube-viewer, gtk2-youtube-viewer, gtk3-youtube-viewer, straw-viewer, lutris, dolphin-emu, authenticator-rs, servo, tutanota-desktop, npm, marker, yarn, lsar, unar, agetpkg diff --git a/etc/profile-a-l/agetpkg.profile b/etc/profile-a-l/agetpkg.profile new file mode 100644 index 00000000000..6d5dab41a0e --- /dev/null +++ b/etc/profile-a-l/agetpkg.profile @@ -0,0 +1,60 @@ +# Firejail profile for agetpkg +# Description: CLI tool to list/get/install packages from the Arch Linux Archive +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include agetpkg.local +# Persistent global definitions +include globals.local + +blacklist /tmp/.X11-unix +blacklist ${RUNUSER}/wayland-* + +# Allow python (blacklisted by disable-interpreters.inc) +#include allow-python2.inc +include allow-python3.inc + +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 ${DOWNLOADS} +include whitelist-common.inc +include whitelist-usr-share-common.inc +include whitelist-var-common.inc + +caps.drop all +hostname agetpkg +ipc-namespace +machine-id +noautopulse +netfilter +no3d +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol inet,inet6 +seccomp +shell none +tracelog + +private-bin agetpkg,python3 +private-cache +private-dev +private-etc ca-certificates,crypto-policies,pki,resolv.conf,ssl +private-tmp + +dbus-user none +dbus-system none + +memory-deny-write-execute