aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-02-04 17:36:12 +0100
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2021-02-04 17:42:52 +0100
commit00a17b055e9775051445d60ae5e70458c446f641 (patch)
treea368353a5051a9e686a68a2ed0b657cc39cfcfc6
parenttests: check with faudit if tests are run sandboxed (diff)
downloadfirejail-00a17b055e9775051445d60ae5e70458c446f641.tar.gz
firejail-00a17b055e9775051445d60ae5e70458c446f641.tar.zst
firejail-00a17b055e9775051445d60ae5e70458c446f641.zip
Add profile for vmware-view
blacklist ${HOME}/.vwmare is already in disable-programs.inc I did not add it to firecfg.config because it has many extra features such as usb-redirection that I could not test.
-rw-r--r--README.md2
-rw-r--r--RELNOTES4
-rw-r--r--etc/profile-m-z/vmware-view.profile58
3 files changed, 64 insertions, 0 deletions
diff --git a/README.md b/README.md
index e7b38a040..4c6b52d3d 100644
--- a/README.md
+++ b/README.md
@@ -198,3 +198,5 @@ Stats:
198``` 198```
199 199
200### New profiles: 200### New profiles:
201
202vmware-view
diff --git a/RELNOTES b/RELNOTES
index fae29632d..a5d03cd81 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -1,3 +1,7 @@
1firejail (0.9.65) baseline; urgency=low
2 * new profiles: vmware-view
3
4
1firejail (0.9.64.2) baseline; urgency=low 5firejail (0.9.64.2) baseline; urgency=low
2 * allow --tmpfs inside $HOME for unprivileged users 6 * allow --tmpfs inside $HOME for unprivileged users
3 * --disable-usertmpfs compile time option 7 * --disable-usertmpfs compile time option
diff --git a/etc/profile-m-z/vmware-view.profile b/etc/profile-m-z/vmware-view.profile
new file mode 100644
index 000000000..5a5baea3a
--- /dev/null
+++ b/etc/profile-m-z/vmware-view.profile
@@ -0,0 +1,58 @@
1# Firejail profile for vmware-view
2# Description: VMware Horizon Client
3# This file is overwritten after every install/update
4# Persistent local customizations
5include vmware-view.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.vmware
10
11noblacklist /sbin
12noblacklist /usr/sbin
13
14include allow-bin-sh.inc
15
16include disable-common.inc
17include disable-devel.inc
18include disable-exec.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-shell.inc
23include disable-xdg.inc
24
25mkdir ${HOME}/.vmware
26whitelist ${HOME}/.vmware
27include whitelist-common.inc
28include whitelist-runuser-common.inc
29include whitelist-usr-share-common.inc
30include whitelist-var-common.inc
31
32caps.drop all
33netfilter
34nodvd
35nogroups
36nonewprivs
37noroot
38notv
39nou2f
40# Comment novideo (or add 'ignore novideo' to your vmware-view.local) if you need your webcam
41novideo
42# protocol produces a lot error messages but nothing seems to be broken
43protocol unix,inet,inet6
44seccomp !iopl
45seccomp.block-secondary
46shell none
47tracelog
48
49disable-mnt
50private-cache
51private-dev
52private-etc alsa,alternatives,asound.conf,bumblebee,ca-certificates,crypto-policies,dconf,drirc,fonts,gai.conf,gconf,glvnd,group,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,login.defs,machine-id,magic,magic.mgc,mime.types,nsswitch.conf,nvidia,pango,passwd,pki,protocols,proxychains.conf,pulse,resolv.conf,rpc,services,ssl,terminfo,vmware,X11,xdg,vmware-tools,vmware-vix
53# Logs are "stored" in /tmp, comment (or add 'ignore private-tmp' to your vmware-view.local)
54# if you need them without joining the sandbox.
55private-tmp
56
57dbus-user none
58dbus-system none