aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2023-02-24 20:48:18 -0500
committerLibravatar GitHub <noreply@github.com>2023-02-24 20:48:18 -0500
commit9b64b76cc940a323a9345b6f3da93d6e09bf1798 (patch)
treea05e0dc936fe9089cea875959d6005fdff7c97da /etc/profile-m-z
parentMerge pull request #5674 from kmk3/fix-ws-add-editorconfig (diff)
parentparsecd.profile: more white and blacklisting (diff)
downloadfirejail-9b64b76cc940a323a9345b6f3da93d6e09bf1798.tar.gz
firejail-9b64b76cc940a323a9345b6f3da93d6e09bf1798.tar.zst
firejail-9b64b76cc940a323a9345b6f3da93d6e09bf1798.zip
Merge pull request #5646 from NetSysFire/parsecd
New profile: parsecd
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/parsecd.profile57
1 files changed, 57 insertions, 0 deletions
diff --git a/etc/profile-m-z/parsecd.profile b/etc/profile-m-z/parsecd.profile
new file mode 100644
index 000000000..249d475cf
--- /dev/null
+++ b/etc/profile-m-z/parsecd.profile
@@ -0,0 +1,57 @@
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
5include parsecd.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.parsec
10ignore noexec ${HOME}
11
12include disable-common.inc
13include disable-devel.inc
14include disable-exec.inc
15include disable-interpreters.inc
16include disable-proc.inc
17include disable-programs.inc
18include disable-shell.inc
19include disable-xdg.inc
20
21mkdir ${HOME}/.parsec
22whitelist ${HOME}/.parsec
23whitelist /usr/share/parsec
24include whitelist-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-run-common.inc
27include whitelist-runuser-common.inc
28include whitelist-var-common.inc
29
30# Due to the nature of parsec, the following directives will not work:
31# - no3d
32# - novideo
33# - nosound
34# - noinput (it does remote passthrough stuff for gamepads)
35# - private-dev (because of the above)
36apparmor
37caps.drop all
38nodvd
39nogroups
40nonewprivs
41notv
42nou2f
43noroot
44# Will fail to start with mty_evdev_create: 'udev_monitor_new_from_netlink' failed without netlink
45protocol unix,inet,inet6,netlink
46seccomp !tgkill
47seccomp.block-secondary
48
49# Will not start with zenity missing
50private-bin parsecd,zenity
51private-tmp
52
53dbus-user none
54dbus-system none
55
56memory-deny-write-execute
57restrict-namespaces