New profile: parsecd

This commit is contained in:
NetSysFire 2023-02-07 11:35:47 +01:00 committed by Kelvin M. Klann
parent 45a641deab
commit 9fa9d08887
2 changed files with 45 additions and 0 deletions

View file

@ -1077,6 +1077,7 @@ blacklist ${HOME}/.ostrichriders
blacklist ${HOME}/.paradoxinteractive
blacklist ${HOME}/.paradoxlauncher
blacklist ${HOME}/.parallelrealities/blobwars
blacklist ${HOME}/.parsec
blacklist ${HOME}/.pcsxr
blacklist ${HOME}/.penguin-command
blacklist ${HOME}/.pine-crash

View file

@ -0,0 +1,44 @@
# Firejail profile for Parsec
# Description: Remote desktop application focused on gaming and other 3D applications
# This file is overwritten after every install/update
# Persistent local customizations
include parsecd.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.parsec
mkdir ${HOME}/.parsec
whitelist ${HOME}/.parsec
whitelist /usr/share/parsec
include whitelist-common.inc
include whitelist-usr-share-common.inc
# Due to the nature of parsec, the following directives will not work:
# - no3d
# - novideo
# - nosound
# - noinput (it does remote passthrough stuff for gamepads)
# - private-dev (because of the above)
apparmor
caps.drop all
nodvd
nogroups
nonewprivs
notv
nou2f
noroot
# Will fail to start with mty_evdev_create: 'udev_monitor_new_from_netlink' failed without netlink
protocol unix,inet,inet6,netlink
seccomp !tgkill
seccomp.block-secondary
# Will not start with zenity missing
private-bin parsecd,zenity
private-tmp
dbus-user none
dbus-system none
memory-deny-write-execute
restrict-namespaces