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.
This commit is contained in:
rusty-snake 2021-02-04 17:36:12 +01:00
parent c40b781481
commit 00a17b055e
3 changed files with 64 additions and 0 deletions

View file

@ -198,3 +198,5 @@ Stats:
```
### New profiles:
vmware-view

View file

@ -1,3 +1,7 @@
firejail (0.9.65) baseline; urgency=low
* new profiles: vmware-view
firejail (0.9.64.2) baseline; urgency=low
* allow --tmpfs inside $HOME for unprivileged users
* --disable-usertmpfs compile time option

View file

@ -0,0 +1,58 @@
# Firejail profile for vmware-view
# Description: VMware Horizon Client
# This file is overwritten after every install/update
# Persistent local customizations
include vmware-view.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.vmware
noblacklist /sbin
noblacklist /usr/sbin
include allow-bin-sh.inc
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
mkdir ${HOME}/.vmware
whitelist ${HOME}/.vmware
include whitelist-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
caps.drop all
netfilter
nodvd
nogroups
nonewprivs
noroot
notv
nou2f
# Comment novideo (or add 'ignore novideo' to your vmware-view.local) if you need your webcam
novideo
# protocol produces a lot error messages but nothing seems to be broken
protocol unix,inet,inet6
seccomp !iopl
seccomp.block-secondary
shell none
tracelog
disable-mnt
private-cache
private-dev
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
# Logs are "stored" in /tmp, comment (or add 'ignore private-tmp' to your vmware-view.local)
# if you need them without joining the sandbox.
private-tmp
dbus-user none
dbus-system none