aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/gzip.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-12-15 19:05:54 +0000
committerLibravatar GitHub <noreply@github.com>2020-12-15 19:05:54 +0000
commit4a40e2a5f2009cf282dd783e73e1fb860ac758ba (patch)
tree98ab549570bd67a4987bb2b1ad019b372c205f54 /etc/profile-a-l/gzip.profile
parentRunuser fixes (#3826) (diff)
downloadfirejail-4a40e2a5f2009cf282dd783e73e1fb860ac758ba.tar.gz
firejail-4a40e2a5f2009cf282dd783e73e1fb860ac758ba.tar.zst
firejail-4a40e2a5f2009cf282dd783e73e1fb860ac758ba.zip
Refactor archivers (#3820)
* Create archiver-common.inc * add apparmor to archiver-common.inc * refactor 7z.profile * refactor ar.profile * refactor atool.profile * refactor bsdtar.profile * refactor cpio.profile * refactor gzip.profile * refactor tar.profile * refactor unrar.profile * refactor unzip.profile * refactor xzdec.profile * refactor zstd.profile * rewording * blacklist ${RUNUSER} in archiver-common.inc Thanks to @rusty-snake for suggesting this. * drop non-sensical ${RUNUSER}/wayland-* blacklisting in archiver-common.inc See discussion in https://github.com/netblue30/firejail/pull/3820#discussion_r543523343
Diffstat (limited to 'etc/profile-a-l/gzip.profile')
-rw-r--r--etc/profile-a-l/gzip.profile39
1 files changed, 2 insertions, 37 deletions
diff --git a/etc/profile-a-l/gzip.profile b/etc/profile-a-l/gzip.profile
index 8ec39d8ca..96c1743e3 100644
--- a/etc/profile-a-l/gzip.profile
+++ b/etc/profile-a-l/gzip.profile
@@ -7,43 +7,8 @@ include gzip.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10blacklist ${RUNUSER}/wayland-*
11
12# Arch Linux (based distributions) need access to /var/lib/pacman. As we drop all capabilities this is automatically read-only. 10# Arch Linux (based distributions) need access to /var/lib/pacman. As we drop all capabilities this is automatically read-only.
13noblacklist /var/lib/pacman 11noblacklist /var/lib/pacman
14 12
15include disable-common.inc 13ignore include disable-shell.inc
16include disable-devel.inc 14include archiver-common.inc
17include disable-exec.inc
18include disable-interpreters.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21
22apparmor
23caps.drop all
24hostname gzip
25ipc-namespace
26machine-id
27net none
28no3d
29nodvd
30nogroups
31nonewprivs
32#noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41x11 none
42
43private-cache
44private-dev
45
46dbus-user none
47dbus-system none
48
49memory-deny-write-execute