aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/parsecd.profile
blob: ecaf690fe8cfbfb96a4f5edbc491ac3df90eae55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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
ignore noexec ${HOME}

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-proc.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc

mkdir ${HOME}/.parsec
whitelist ${HOME}/.parsec
whitelist /usr/share/parsec
include whitelist-common.inc
include whitelist-run-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

# Due to the nature of parsec, the following directives will not work:
# - no3d
# - noinput (it does remote passthrough stuff for gamepads)
# - nosound
# - novideo
# - private-dev (same as noinput)
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