From 5b17f56c37899b26f9d134e4c496c0769c51f914 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Mon, 12 Aug 2019 21:03:26 +0000 Subject: Add zstd (redirect) profile(s) (#2902) * Create zstd.profile * Create pzstd.profile * Create zstdcat.profile * Create zstdgrep.profile * Create zstdless.profile * Create zstdmt.profile * Add zstd and its redirect profiles to firecfg.config --- etc/pzstd.profile | 5 +++++ etc/zstd.profile | 42 ++++++++++++++++++++++++++++++++++++++++++ etc/zstdcat.profile | 5 +++++ etc/zstdgrep.profile | 5 +++++ etc/zstdless.profile | 5 +++++ etc/zstdmt.profile | 5 +++++ src/firecfg/firecfg.config | 6 ++++++ 7 files changed, 73 insertions(+) create mode 100644 etc/pzstd.profile create mode 100644 etc/zstd.profile create mode 100644 etc/zstdcat.profile create mode 100644 etc/zstdgrep.profile create mode 100644 etc/zstdless.profile create mode 100644 etc/zstdmt.profile diff --git a/etc/pzstd.profile b/etc/pzstd.profile new file mode 100644 index 000000000..ce9af3286 --- /dev/null +++ b/etc/pzstd.profile @@ -0,0 +1,5 @@ +# Firejail profile alias for zstd +# This file is overwritten after every install/update + +# Redirect +include zstd.profile diff --git a/etc/zstd.profile b/etc/zstd.profile new file mode 100644 index 000000000..ea7bbfb0d --- /dev/null +++ b/etc/zstd.profile @@ -0,0 +1,42 @@ +# Firejail profile for zstd +# Description: Zstandard - Fast real-time compression algorithm +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include zstd.local +# Persistent global definitions +include globals.local + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc + +apparmor +caps.drop all +hostname zstd +ipc-namespace +machine-id +net none +no3d +nodbus +nodvd +nogroups +nonewprivs +#noroot +nosound +notv +nou2f +novideo +protocol unix +seccomp +shell none +tracelog +x11 none + +private-cache +private-dev + +memory-deny-write-execute diff --git a/etc/zstdcat.profile b/etc/zstdcat.profile new file mode 100644 index 000000000..ce9af3286 --- /dev/null +++ b/etc/zstdcat.profile @@ -0,0 +1,5 @@ +# Firejail profile alias for zstd +# This file is overwritten after every install/update + +# Redirect +include zstd.profile diff --git a/etc/zstdgrep.profile b/etc/zstdgrep.profile new file mode 100644 index 000000000..ce9af3286 --- /dev/null +++ b/etc/zstdgrep.profile @@ -0,0 +1,5 @@ +# Firejail profile alias for zstd +# This file is overwritten after every install/update + +# Redirect +include zstd.profile diff --git a/etc/zstdless.profile b/etc/zstdless.profile new file mode 100644 index 000000000..ce9af3286 --- /dev/null +++ b/etc/zstdless.profile @@ -0,0 +1,5 @@ +# Firejail profile alias for zstd +# This file is overwritten after every install/update + +# Redirect +include zstd.profile diff --git a/etc/zstdmt.profile b/etc/zstdmt.profile new file mode 100644 index 000000000..ce9af3286 --- /dev/null +++ b/etc/zstdmt.profile @@ -0,0 +1,5 @@ +# Firejail profile alias for zstd +# This file is overwritten after every install/update + +# Redirect +include zstd.profile diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index b44337d78..8ae0ff0bf 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config @@ -477,6 +477,7 @@ psi-plus pybitmessage # pycharm-community - FB note: may enable later # pycharm-professional +pzstd qbittorrent qemu-launcher qgis @@ -682,4 +683,9 @@ zathura zeal zoom zpaq +zstd +zstdcat +zstdgrep +zstdless +zstdmt zulip -- cgit v1.2.3-54-g00ecf