aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/atool.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/atool.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/atool.profile')
-rw-r--r--etc/profile-a-l/atool.profile38
1 files changed, 3 insertions, 35 deletions
diff --git a/etc/profile-a-l/atool.profile b/etc/profile-a-l/atool.profile
index e501e956c..d8b6bbaaf 100644
--- a/etc/profile-a-l/atool.profile
+++ b/etc/profile-a-l/atool.profile
@@ -7,47 +7,15 @@ include atool.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10blacklist ${RUNUSER}/wayland-*
11
12# Allow perl (blacklisted by disable-interpreters.inc) 10# Allow perl (blacklisted by disable-interpreters.inc)
13include allow-perl.inc 11include allow-perl.inc
12ignore include disable-devel.inc
13ignore include disable-shell.inc
14include archiver-common.inc
14 15
15include disable-common.inc
16# include disable-devel.inc
17include disable-exec.inc
18include disable-interpreters.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21
22apparmor
23caps.drop all
24hostname atool
25ipc-namespace
26machine-id
27net none
28no3d
29nodvd
30nogroups
31nonewprivs
32noroot 16noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41x11 none
42 17
43# private-bin atool,perl 18# private-bin atool,perl
44private-cache
45private-dev
46# without login.defs atool complains and uses UID/GID 1000 by default 19# without login.defs atool complains and uses UID/GID 1000 by default
47private-etc alternatives,group,login.defs,passwd 20private-etc alternatives,group,login.defs,passwd
48private-tmp 21private-tmp
49
50dbus-user none
51dbus-system none
52
53memory-deny-write-execute