diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2020-12-15 19:05:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 19:05:54 +0000 |
commit | 4a40e2a5f2009cf282dd783e73e1fb860ac758ba (patch) | |
tree | 98ab549570bd67a4987bb2b1ad019b372c205f54 /etc/profile-a-l/7z.profile | |
parent | Runuser fixes (#3826) (diff) | |
download | firejail-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/7z.profile')
-rw-r--r-- | etc/profile-a-l/7z.profile | 39 |
1 files changed, 3 insertions, 36 deletions
diff --git a/etc/profile-a-l/7z.profile b/etc/profile-a-l/7z.profile index 02a2e7ea0..c7bed93ce 100644 --- a/etc/profile-a-l/7z.profile +++ b/etc/profile-a-l/7z.profile | |||
@@ -7,41 +7,8 @@ include 7z.local | |||
7 | # Persistent global definitions | 7 | # Persistent global definitions |
8 | include globals.local | 8 | include globals.local |
9 | 9 | ||
10 | blacklist ${RUNUSER}/wayland-* | 10 | ignore include disable-shell.inc |
11 | 11 | ignore nogroups | |
12 | include disable-common.inc | 12 | include archiver-common.inc |
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-passwdmgr.inc | ||
17 | include disable-programs.inc | ||
18 | |||
19 | apparmor | ||
20 | caps.drop all | ||
21 | hostname 7z | ||
22 | ipc-namespace | ||
23 | machine-id | ||
24 | net none | ||
25 | no3d | ||
26 | nodvd | ||
27 | #nogroups | ||
28 | nonewprivs | ||
29 | #noroot | ||
30 | nosound | ||
31 | notv | ||
32 | nou2f | ||
33 | novideo | ||
34 | protocol unix | ||
35 | seccomp | ||
36 | shell none | ||
37 | tracelog | ||
38 | x11 none | ||
39 | 13 | ||
40 | #private-bin 7z,7z*,p7zip | 14 | #private-bin 7z,7z*,p7zip |
41 | private-cache | ||
42 | private-dev | ||
43 | |||
44 | dbus-user none | ||
45 | dbus-system none | ||
46 | |||
47 | memory-deny-write-execute | ||