diff options
author | netblue30 <netblue30@protonmail.com> | 2023-02-24 20:50:25 -0500 |
---|---|---|
committer | netblue30 <netblue30@protonmail.com> | 2023-02-24 20:50:25 -0500 |
commit | 71b98ed838910173ec56c977f4892fd9c53da339 (patch) | |
tree | 16b90ac1333137ffc4df4f50e152ade351c458c8 /etc | |
parent | merges (diff) | |
parent | Merge pull request #5646 from NetSysFire/parsecd (diff) | |
download | firejail-71b98ed838910173ec56c977f4892fd9c53da339.tar.gz firejail-71b98ed838910173ec56c977f4892fd9c53da339.tar.zst firejail-71b98ed838910173ec56c977f4892fd9c53da339.zip |
Merge branch 'master' of ssh://github.com/netblue30/firejail
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-a-l/bibtex.profile | 1 | ||||
-rw-r--r-- | etc/profile-a-l/latex.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/parsecd.profile | 57 | ||||
-rw-r--r-- | etc/profile-m-z/pdflatex.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/presentations18.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/rpcs3.profile | 2 | ||||
-rw-r--r-- | etc/profile-m-z/tex.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/textmaker18.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/textmaker18free.profile | 1 |
10 files changed, 59 insertions, 8 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 3333dd0fa..3eb6c03d5 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -1078,6 +1078,7 @@ blacklist ${HOME}/.ostrichriders | |||
1078 | blacklist ${HOME}/.paradoxinteractive | 1078 | blacklist ${HOME}/.paradoxinteractive |
1079 | blacklist ${HOME}/.paradoxlauncher | 1079 | blacklist ${HOME}/.paradoxlauncher |
1080 | blacklist ${HOME}/.parallelrealities/blobwars | 1080 | blacklist ${HOME}/.parallelrealities/blobwars |
1081 | blacklist ${HOME}/.parsec | ||
1081 | blacklist ${HOME}/.pcsxr | 1082 | blacklist ${HOME}/.pcsxr |
1082 | blacklist ${HOME}/.penguin-command | 1083 | blacklist ${HOME}/.penguin-command |
1083 | blacklist ${HOME}/.pine-crash | 1084 | blacklist ${HOME}/.pine-crash |
diff --git a/etc/profile-a-l/bibtex.profile b/etc/profile-a-l/bibtex.profile index e868dcbab..5f12d61f1 100644 --- a/etc/profile-a-l/bibtex.profile +++ b/etc/profile-a-l/bibtex.profile | |||
@@ -9,4 +9,3 @@ private-bin bibtex | |||
9 | 9 | ||
10 | # Redirect | 10 | # Redirect |
11 | include latex-common.profile | 11 | include latex-common.profile |
12 | |||
diff --git a/etc/profile-a-l/latex.profile b/etc/profile-a-l/latex.profile index 2230dd570..f6e625d35 100644 --- a/etc/profile-a-l/latex.profile +++ b/etc/profile-a-l/latex.profile | |||
@@ -9,4 +9,3 @@ private-bin latex | |||
9 | 9 | ||
10 | # Redirect | 10 | # Redirect |
11 | include latex-common.profile | 11 | include latex-common.profile |
12 | |||
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 | ||
5 | include parsecd.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.parsec | ||
10 | ignore noexec ${HOME} | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-exec.inc | ||
15 | include disable-interpreters.inc | ||
16 | include disable-proc.inc | ||
17 | include disable-programs.inc | ||
18 | include disable-shell.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | mkdir ${HOME}/.parsec | ||
22 | whitelist ${HOME}/.parsec | ||
23 | whitelist /usr/share/parsec | ||
24 | include whitelist-common.inc | ||
25 | include whitelist-usr-share-common.inc | ||
26 | include whitelist-run-common.inc | ||
27 | include whitelist-runuser-common.inc | ||
28 | include 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) | ||
36 | apparmor | ||
37 | caps.drop all | ||
38 | nodvd | ||
39 | nogroups | ||
40 | nonewprivs | ||
41 | notv | ||
42 | nou2f | ||
43 | noroot | ||
44 | # Will fail to start with mty_evdev_create: 'udev_monitor_new_from_netlink' failed without netlink | ||
45 | protocol unix,inet,inet6,netlink | ||
46 | seccomp !tgkill | ||
47 | seccomp.block-secondary | ||
48 | |||
49 | # Will not start with zenity missing | ||
50 | private-bin parsecd,zenity | ||
51 | private-tmp | ||
52 | |||
53 | dbus-user none | ||
54 | dbus-system none | ||
55 | |||
56 | memory-deny-write-execute | ||
57 | restrict-namespaces | ||
diff --git a/etc/profile-m-z/pdflatex.profile b/etc/profile-m-z/pdflatex.profile index caf980d4d..ddf6d0990 100644 --- a/etc/profile-m-z/pdflatex.profile +++ b/etc/profile-m-z/pdflatex.profile | |||
@@ -9,4 +9,3 @@ private-bin pdflatex | |||
9 | 9 | ||
10 | # Redirect | 10 | # Redirect |
11 | include latex-common.profile | 11 | include latex-common.profile |
12 | |||
diff --git a/etc/profile-m-z/presentations18.profile b/etc/profile-m-z/presentations18.profile index 65d684c40..ac844d1af 100644 --- a/etc/profile-m-z/presentations18.profile +++ b/etc/profile-m-z/presentations18.profile | |||
@@ -8,4 +8,3 @@ include globals.local | |||
8 | 8 | ||
9 | # Redirect | 9 | # Redirect |
10 | include softmaker-common.profile | 10 | include softmaker-common.profile |
11 | |||
diff --git a/etc/profile-m-z/rpcs3.profile b/etc/profile-m-z/rpcs3.profile index 186e31b46..405ab818d 100644 --- a/etc/profile-m-z/rpcs3.profile +++ b/etc/profile-m-z/rpcs3.profile | |||
@@ -2,7 +2,7 @@ | |||
2 | # Description: RPCS3 emulator | 2 | # Description: RPCS3 emulator |
3 | # This file is overwritten after every install/update | 3 | # This file is overwritten after every install/update |
4 | # Persistent local customizations | 4 | # Persistent local customizations |
5 | include rpcs3.local | 5 | include rpcs3.local |
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
diff --git a/etc/profile-m-z/tex.profile b/etc/profile-m-z/tex.profile index f56c3038e..c850cf5c3 100644 --- a/etc/profile-m-z/tex.profile +++ b/etc/profile-m-z/tex.profile | |||
@@ -9,4 +9,3 @@ private-bin tex | |||
9 | 9 | ||
10 | # Redirect | 10 | # Redirect |
11 | include latex-common.profile | 11 | include latex-common.profile |
12 | |||
diff --git a/etc/profile-m-z/textmaker18.profile b/etc/profile-m-z/textmaker18.profile index e5a4b6454..8284df791 100644 --- a/etc/profile-m-z/textmaker18.profile +++ b/etc/profile-m-z/textmaker18.profile | |||
@@ -8,4 +8,3 @@ include globals.local | |||
8 | 8 | ||
9 | # Redirect | 9 | # Redirect |
10 | include softmaker-common.profile | 10 | include softmaker-common.profile |
11 | |||
diff --git a/etc/profile-m-z/textmaker18free.profile b/etc/profile-m-z/textmaker18free.profile index 0e918bf0a..ad945ca55 100644 --- a/etc/profile-m-z/textmaker18free.profile +++ b/etc/profile-m-z/textmaker18free.profile | |||
@@ -8,4 +8,3 @@ include globals.local | |||
8 | 8 | ||
9 | # Redirect | 9 | # Redirect |
10 | include softmaker-common.profile | 10 | include softmaker-common.profile |
11 | |||