aboutsummaryrefslogtreecommitdiffstats
path: root/etc/tar.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-03-14 12:01:43 +0000
committerLibravatar GitHub <noreply@github.com>2019-03-14 12:01:43 +0000
commit097aba97d8cb0a848f1f21018f65c58d48ef3cb2 (patch)
treebb5159f2651680606ccf7208dd4f48e1add373fe /etc/tar.profile
parentFixes for seahorse/seahorse-tool (#2592) (diff)
downloadfirejail-097aba97d8cb0a848f1f21018f65c58d48ef3cb2.tar.gz
firejail-097aba97d8cb0a848f1f21018f65c58d48ef3cb2.tar.zst
firejail-097aba97d8cb0a848f1f21018f65c58d48ef3cb2.zip
Hardening compressors (#2594)
* Harden atool * Harden cpio * Fix ordering in private-* options * Harden gzip * Harden tar * Harden bsdtar * Harden+ tar * Harden+ gzip * Harden+ cpio * Create bzip2.profile * Description for bunzip2 * Add bzip2/bunzip2 to firecfg
Diffstat (limited to 'etc/tar.profile')
-rw-r--r--etc/tar.profile13
1 files changed, 12 insertions, 1 deletions
diff --git a/etc/tar.profile b/etc/tar.profile
index e1cfe9c80..14fc00d21 100644
--- a/etc/tar.profile
+++ b/etc/tar.profile
@@ -10,12 +10,20 @@ include tar.local
10 10
11blacklist /tmp/.X11-unix 11blacklist /tmp/.X11-unix
12 12
13hostname tar 13include disable-exec.inc
14include disable-interpreters.inc
15
14ignore noroot 16ignore noroot
17
18apparmor
19hostname tar
20ipc-namespace
21machine-id
15net none 22net none
16no3d 23no3d
17nodbus 24nodbus
18nodvd 25nodvd
26nogroups
19nosound 27nosound
20notv 28notv
21nou2f 29nou2f
@@ -25,10 +33,13 @@ tracelog
25 33
26# support compressed archives 34# support compressed archives
27private-bin sh,bash,tar,gtar,compress,gzip,lzma,xz,bzip2,lbzip2,lzip,lzop 35private-bin sh,bash,tar,gtar,compress,gzip,lzma,xz,bzip2,lbzip2,lzip,lzop
36private-cache
28private-dev 37private-dev
29private-etc alternatives,passwd,group,localtime 38private-etc alternatives,passwd,group,localtime
30private-lib libfakeroot 39private-lib libfakeroot
31 40
41memory-deny-write-execute
42
32# Debian based distributions need this for 'dpkg --unpack' (incl. synaptic) 43# Debian based distributions need this for 'dpkg --unpack' (incl. synaptic)
33writable-var 44writable-var
34 45