diff options
author | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-02-04 17:36:12 +0100 |
---|---|---|
committer | rusty-snake <41237666+rusty-snake@users.noreply.github.com> | 2021-02-04 17:42:52 +0100 |
commit | 00a17b055e9775051445d60ae5e70458c446f641 (patch) | |
tree | a368353a5051a9e686a68a2ed0b657cc39cfcfc6 /etc/profile-m-z/vmware-view.profile | |
parent | tests: check with faudit if tests are run sandboxed (diff) | |
download | firejail-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.
Diffstat (limited to 'etc/profile-m-z/vmware-view.profile')
-rw-r--r-- | etc/profile-m-z/vmware-view.profile | 58 |
1 files changed, 58 insertions, 0 deletions
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 | ||
5 | include vmware-view.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.vmware | ||
10 | |||
11 | noblacklist /sbin | ||
12 | noblacklist /usr/sbin | ||
13 | |||
14 | include allow-bin-sh.inc | ||
15 | |||
16 | include disable-common.inc | ||
17 | include disable-devel.inc | ||
18 | include disable-exec.inc | ||
19 | include disable-interpreters.inc | ||
20 | include disable-passwdmgr.inc | ||
21 | include disable-programs.inc | ||
22 | include disable-shell.inc | ||
23 | include disable-xdg.inc | ||
24 | |||
25 | mkdir ${HOME}/.vmware | ||
26 | whitelist ${HOME}/.vmware | ||
27 | include whitelist-common.inc | ||
28 | include whitelist-runuser-common.inc | ||
29 | include whitelist-usr-share-common.inc | ||
30 | include whitelist-var-common.inc | ||
31 | |||
32 | caps.drop all | ||
33 | netfilter | ||
34 | nodvd | ||
35 | nogroups | ||
36 | nonewprivs | ||
37 | noroot | ||
38 | notv | ||
39 | nou2f | ||
40 | # Comment novideo (or add 'ignore novideo' to your vmware-view.local) if you need your webcam | ||
41 | novideo | ||
42 | # protocol produces a lot error messages but nothing seems to be broken | ||
43 | protocol unix,inet,inet6 | ||
44 | seccomp !iopl | ||
45 | seccomp.block-secondary | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private-cache | ||
51 | private-dev | ||
52 | private-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. | ||
55 | private-tmp | ||
56 | |||
57 | dbus-user none | ||
58 | dbus-system none | ||