diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-08-12 21:03:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-12 21:03:26 +0000 |
commit | 5b17f56c37899b26f9d134e4c496c0769c51f914 (patch) | |
tree | 3c8ea55f8fe48973d4a5a60e4a2e60bacd137854 | |
parent | add bzcat profile (diff) | |
download | firejail-5b17f56c37899b26f9d134e4c496c0769c51f914.tar.gz firejail-5b17f56c37899b26f9d134e4c496c0769c51f914.tar.zst firejail-5b17f56c37899b26f9d134e4c496c0769c51f914.zip |
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
-rw-r--r-- | etc/pzstd.profile | 5 | ||||
-rw-r--r-- | etc/zstd.profile | 42 | ||||
-rw-r--r-- | etc/zstdcat.profile | 5 | ||||
-rw-r--r-- | etc/zstdgrep.profile | 5 | ||||
-rw-r--r-- | etc/zstdless.profile | 5 | ||||
-rw-r--r-- | etc/zstdmt.profile | 5 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 6 |
7 files changed, 73 insertions, 0 deletions
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 @@ | |||
1 | # Firejail profile alias for zstd | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | # Redirect | ||
5 | 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 @@ | |||
1 | # Firejail profile for zstd | ||
2 | # Description: Zstandard - Fast real-time compression algorithm | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include zstd.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | include disable-common.inc | ||
11 | include disable-devel.inc | ||
12 | include disable-exec.inc | ||
13 | include disable-interpreters.inc | ||
14 | include disable-passwdmgr.inc | ||
15 | include disable-programs.inc | ||
16 | |||
17 | apparmor | ||
18 | caps.drop all | ||
19 | hostname zstd | ||
20 | ipc-namespace | ||
21 | machine-id | ||
22 | net none | ||
23 | no3d | ||
24 | nodbus | ||
25 | nodvd | ||
26 | nogroups | ||
27 | nonewprivs | ||
28 | #noroot | ||
29 | nosound | ||
30 | notv | ||
31 | nou2f | ||
32 | novideo | ||
33 | protocol unix | ||
34 | seccomp | ||
35 | shell none | ||
36 | tracelog | ||
37 | x11 none | ||
38 | |||
39 | private-cache | ||
40 | private-dev | ||
41 | |||
42 | 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 @@ | |||
1 | # Firejail profile alias for zstd | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | # Redirect | ||
5 | 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 @@ | |||
1 | # Firejail profile alias for zstd | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | # Redirect | ||
5 | 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 @@ | |||
1 | # Firejail profile alias for zstd | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | # Redirect | ||
5 | 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 @@ | |||
1 | # Firejail profile alias for zstd | ||
2 | # This file is overwritten after every install/update | ||
3 | |||
4 | # Redirect | ||
5 | 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 | |||
477 | pybitmessage | 477 | pybitmessage |
478 | # pycharm-community - FB note: may enable later | 478 | # pycharm-community - FB note: may enable later |
479 | # pycharm-professional | 479 | # pycharm-professional |
480 | pzstd | ||
480 | qbittorrent | 481 | qbittorrent |
481 | qemu-launcher | 482 | qemu-launcher |
482 | qgis | 483 | qgis |
@@ -682,4 +683,9 @@ zathura | |||
682 | zeal | 683 | zeal |
683 | zoom | 684 | zoom |
684 | zpaq | 685 | zpaq |
686 | zstd | ||
687 | zstdcat | ||
688 | zstdgrep | ||
689 | zstdless | ||
690 | zstdmt | ||
685 | zulip | 691 | zulip |