diff options
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/parsecd.profile | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index e2e97f458..2a7e1a898 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -1077,6 +1077,7 @@ blacklist ${HOME}/.ostrichriders | |||
1077 | blacklist ${HOME}/.paradoxinteractive | 1077 | blacklist ${HOME}/.paradoxinteractive |
1078 | blacklist ${HOME}/.paradoxlauncher | 1078 | blacklist ${HOME}/.paradoxlauncher |
1079 | blacklist ${HOME}/.parallelrealities/blobwars | 1079 | blacklist ${HOME}/.parallelrealities/blobwars |
1080 | blacklist ${HOME}/.parsec | ||
1080 | blacklist ${HOME}/.pcsxr | 1081 | blacklist ${HOME}/.pcsxr |
1081 | blacklist ${HOME}/.penguin-command | 1082 | blacklist ${HOME}/.penguin-command |
1082 | blacklist ${HOME}/.pine-crash | 1083 | blacklist ${HOME}/.pine-crash |
diff --git a/etc/profile-m-z/parsecd.profile b/etc/profile-m-z/parsecd.profile new file mode 100644 index 000000000..398af7f80 --- /dev/null +++ b/etc/profile-m-z/parsecd.profile | |||
@@ -0,0 +1,44 @@ | |||
1 | # Firejail profile for Parsec | ||
2 | # Description: Remote desktop application focused on gaming and other 3D applications | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include parsecd.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.parsec | ||
10 | |||
11 | mkdir ${HOME}/.parsec | ||
12 | whitelist ${HOME}/.parsec | ||
13 | whitelist /usr/share/parsec | ||
14 | include whitelist-common.inc | ||
15 | include whitelist-usr-share-common.inc | ||
16 | |||
17 | # Due to the nature of parsec, the following directives will not work: | ||
18 | # - no3d | ||
19 | # - novideo | ||
20 | # - nosound | ||
21 | # - noinput (it does remote passthrough stuff for gamepads) | ||
22 | # - private-dev (because of the above) | ||
23 | apparmor | ||
24 | caps.drop all | ||
25 | nodvd | ||
26 | nogroups | ||
27 | nonewprivs | ||
28 | notv | ||
29 | nou2f | ||
30 | noroot | ||
31 | # Will fail to start with mty_evdev_create: 'udev_monitor_new_from_netlink' failed without netlink | ||
32 | protocol unix,inet,inet6,netlink | ||
33 | seccomp !tgkill | ||
34 | seccomp.block-secondary | ||
35 | |||
36 | # Will not start with zenity missing | ||
37 | private-bin parsecd,zenity | ||
38 | private-tmp | ||
39 | |||
40 | dbus-user none | ||
41 | dbus-system none | ||
42 | |||
43 | memory-deny-write-execute | ||
44 | restrict-namespaces | ||