aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-06-29 14:24:36 +0200
committerLibravatar smitsohu <smitsohu@gmail.com>2019-06-29 14:24:36 +0200
commit6adebbf5a6d0be4af503d5b1ef6485bd552b0cb3 (patch)
tree726dd23a6433dee42f86904973d053c7880edbee
parentMerge branch 'master' of https://github.com/netblue30/firejail (diff)
downloadfirejail-6adebbf5a6d0be4af503d5b1ef6485bd552b0cb3.tar.gz
firejail-6adebbf5a6d0be4af503d5b1ef6485bd552b0cb3.tar.zst
firejail-6adebbf5a6d0be4af503d5b1ef6485bd552b0cb3.zip
harden bsdtar profile (net none, x11 none)
-rw-r--r--etc/bsdtar.profile5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/bsdtar.profile b/etc/bsdtar.profile
index 1f7a02c2b..1411ce7bd 100644
--- a/etc/bsdtar.profile
+++ b/etc/bsdtar.profile
@@ -6,8 +6,6 @@ include bsdtar.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9blacklist /tmp/.X11-unix
10
11include disable-common.inc 9include disable-common.inc
12# include disable-devel.inc 10# include disable-devel.inc
13include disable-exec.inc 11include disable-exec.inc
@@ -20,7 +18,7 @@ caps.drop all
20hostname bsdtar 18hostname bsdtar
21ipc-namespace 19ipc-namespace
22machine-id 20machine-id
23netfilter 21net none
24no3d 22no3d
25nodvd 23nodvd
26nodbus 24nodbus
@@ -35,6 +33,7 @@ protocol unix
35seccomp 33seccomp
36shell none 34shell none
37tracelog 35tracelog
36x11 none
38 37
39# support compressed archives 38# support compressed archives
40private-bin bash,bsdcat,bsdcpio,bsdtar,bzip2,compress,gtar,gzip,lbzip2,libarchive,lz4,lzip,lzma,lzop,sh,xz 39private-bin bash,bsdcat,bsdcpio,bsdtar,bzip2,compress,gtar,gzip,lbzip2,libarchive,lz4,lzip,lzma,lzop,sh,xz