diff options
author | netblue30 <netblue30@yahoo.com> | 2016-07-31 07:50:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-31 07:50:29 -0400 |
commit | 31aef5fe61d713ae1c7d1aad1ffdc07599caccd5 (patch) | |
tree | d6ffe7865442f6332b92c50ec208e172745c3f5f /etc | |
parent | Merge pull request #668 from thomasjfox/improve-trace (diff) | |
parent | Add file.profile (diff) | |
download | firejail-31aef5fe61d713ae1c7d1aad1ffdc07599caccd5.tar.gz firejail-31aef5fe61d713ae1c7d1aad1ffdc07599caccd5.tar.zst firejail-31aef5fe61d713ae1c7d1aad1ffdc07599caccd5.zip |
Merge pull request #665 from thomasjfox/unpacker-profiles
Add profiles for tar (gtar), unzip and unrar
Diffstat (limited to 'etc')
-rw-r--r-- | etc/file.profile | 11 | ||||
-rw-r--r-- | etc/gtar.profile | 1 | ||||
-rw-r--r-- | etc/tar.profile | 13 | ||||
-rw-r--r-- | etc/unrar.profile | 11 | ||||
-rw-r--r-- | etc/unzip.profile | 11 |
5 files changed, 47 insertions, 0 deletions
diff --git a/etc/file.profile b/etc/file.profile new file mode 100644 index 000000000..357576040 --- /dev/null +++ b/etc/file.profile | |||
@@ -0,0 +1,11 @@ | |||
1 | # file profile | ||
2 | include /etc/firejail/default.profile | ||
3 | |||
4 | tracelog | ||
5 | net none | ||
6 | shell none | ||
7 | private-bin file | ||
8 | private-dev | ||
9 | private-etc magic.mgc,magic,localtime | ||
10 | hostname file | ||
11 | nosound | ||
diff --git a/etc/gtar.profile b/etc/gtar.profile new file mode 100644 index 000000000..5dbc550f6 --- /dev/null +++ b/etc/gtar.profile | |||
@@ -0,0 +1 @@ | |||
include /etc/firejail/tar.profile | |||
diff --git a/etc/tar.profile b/etc/tar.profile new file mode 100644 index 000000000..4ce3e59f0 --- /dev/null +++ b/etc/tar.profile | |||
@@ -0,0 +1,13 @@ | |||
1 | # tar profile | ||
2 | include /etc/firejail/default.profile | ||
3 | |||
4 | tracelog | ||
5 | net none | ||
6 | shell none | ||
7 | |||
8 | # support compressed archives | ||
9 | private-bin tar,gtar,compress,gzip,lzma,xz,bzip2,lbzip2,lzip,lzop | ||
10 | private-dev | ||
11 | private-etc passwd,group,localtime | ||
12 | hostname tar | ||
13 | nosound | ||
diff --git a/etc/unrar.profile b/etc/unrar.profile new file mode 100644 index 000000000..ccd144699 --- /dev/null +++ b/etc/unrar.profile | |||
@@ -0,0 +1,11 @@ | |||
1 | # unrar profile | ||
2 | include /etc/firejail/default.profile | ||
3 | |||
4 | tracelog | ||
5 | net none | ||
6 | shell none | ||
7 | private-bin unrar | ||
8 | private-dev | ||
9 | private-etc passwd,group,localtime | ||
10 | hostname unrar | ||
11 | nosound | ||
diff --git a/etc/unzip.profile b/etc/unzip.profile new file mode 100644 index 000000000..d4862004c --- /dev/null +++ b/etc/unzip.profile | |||
@@ -0,0 +1,11 @@ | |||
1 | # unzip profile | ||
2 | include /etc/firejail/default.profile | ||
3 | |||
4 | tracelog | ||
5 | net none | ||
6 | shell none | ||
7 | private-bin unzip | ||
8 | private-dev | ||
9 | private-etc passwd,group,localtime | ||
10 | hostname unzip | ||
11 | nosound | ||