aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2020-01-29 20:35:17 +0100
committerLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2020-01-29 20:38:24 +0100
commitcc57e0ceecb2abe71aa5b7a4512e0c36a564b81f (patch)
tree37847b878136b8a4339f1a340fc44d11ffb37db2 /etc
parentfix private-lib for Gentoo in unf.profile (diff)
downloadfirejail-cc57e0ceecb2abe71aa5b7a4512e0c36a564b81f.tar.gz
firejail-cc57e0ceecb2abe71aa5b7a4512e0c36a564b81f.tar.zst
firejail-cc57e0ceecb2abe71aa5b7a4512e0c36a564b81f.zip
Add profiles for the WPS-Office
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-programs.inc3
-rw-r--r--etc/et.profile11
-rw-r--r--etc/wpp.profile14
-rw-r--r--etc/wps.profile47
-rw-r--r--etc/wpspdf.profile11
5 files changed, 86 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 48f137f3d..baa9c3fab 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -85,6 +85,7 @@ blacklist ${HOME}/.config/Gpredict
85blacklist ${HOME}/.config/INRIA 85blacklist ${HOME}/.config/INRIA
86blacklist ${HOME}/.config/InSilmaril 86blacklist ${HOME}/.config/InSilmaril
87blacklist ${HOME}/.config/Kid3 87blacklist ${HOME}/.config/Kid3
88blacklist ${HOME}/.config/Kingsoft
88blacklist ${HOME}/.config/Luminance 89blacklist ${HOME}/.config/Luminance
89blacklist ${HOME}/.config/Meltytech 90blacklist ${HOME}/.config/Meltytech
90blacklist ${HOME}/.config/Mendeley Ltd. 91blacklist ${HOME}/.config/Mendeley Ltd.
@@ -459,6 +460,7 @@ blacklist ${HOME}/.kde4/share/config/ktorrentrc
459blacklist ${HOME}/.kde4/share/config/okularpartrc 460blacklist ${HOME}/.kde4/share/config/okularpartrc
460blacklist ${HOME}/.kde4/share/config/okularrc 461blacklist ${HOME}/.kde4/share/config/okularrc
461blacklist ${HOME}/.killingfloor 462blacklist ${HOME}/.killingfloor
463blacklist ${HOME}/.kingsoft
462blacklist ${HOME}/.kino-history 464blacklist ${HOME}/.kino-history
463blacklist ${HOME}/.kinorc 465blacklist ${HOME}/.kinorc
464blacklist ${HOME}/.klatexformula 466blacklist ${HOME}/.klatexformula
@@ -475,6 +477,7 @@ blacklist ${HOME}/.local/share/Anki2
475blacklist ${HOME}/.local/share/Empathy 477blacklist ${HOME}/.local/share/Empathy
476blacklist ${HOME}/.local/share/Enpass 478blacklist ${HOME}/.local/share/Enpass
477blacklist ${HOME}/.local/share/JetBrains 479blacklist ${HOME}/.local/share/JetBrains
480blacklist ${HOME}/.local/share/Kingsoft
478blacklist ${HOME}/.local/share/Mendeley Ltd. 481blacklist ${HOME}/.local/share/Mendeley Ltd.
479blacklist ${HOME}/.local/share/Mumble 482blacklist ${HOME}/.local/share/Mumble
480blacklist ${HOME}/.local/share/PBE 483blacklist ${HOME}/.local/share/PBE
diff --git a/etc/et.profile b/etc/et.profile
new file mode 100644
index 000000000..4e70bb114
--- /dev/null
+++ b/etc/et.profile
@@ -0,0 +1,11 @@
1# Firejail profile for et
2# Description: WPS Office - Spreadsheets
3# This file is overwritten after every install/update
4# Persistent local customizations
5include et.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10# Redirect
11include wps.profile
diff --git a/etc/wpp.profile b/etc/wpp.profile
new file mode 100644
index 000000000..a219397a9
--- /dev/null
+++ b/etc/wpp.profile
@@ -0,0 +1,14 @@
1# Firejail profile for wpp
2# Description: WPS Office - Presentation
3# This file is overwritten after every install/update
4# Persistent local customizations
5include wpp.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10ignore machine-id
11ignore nosound
12
13# Redirect
14include wps.profile
diff --git a/etc/wps.profile b/etc/wps.profile
new file mode 100644
index 000000000..47bba2dda
--- /dev/null
+++ b/etc/wps.profile
@@ -0,0 +1,47 @@
1# Firejail profile for wps
2# Description: WPS Office - Writer
3# This file is overwritten after every install/update
4# Persistent local customizations
5include wps.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.kingsoft
10noblacklist ${HOME}/.config/Kingsoft
11noblacklist ${HOME}/.local/share/Kingsoft
12
13include disable-common.inc
14include disable-devel.inc
15include disable-exec.inc
16include disable-interpreters.inc
17include disable-passwdmgr.inc
18include disable-programs.inc
19
20include whitelist-usr-share-common.inc
21include whitelist-var-common.inc
22
23apparmor
24caps.drop all
25machine-id
26# Uncomment the next line (or add to wps.local) if you don't use network features.
27#net none
28netfilter
29no3d
30nodbus
31nodvd
32nogroups
33nonewprivs
34noroot
35nosound
36notv
37nou2f
38novideo
39protocol unix,inet,inet6
40# seccomp cause some minor issues, if you can live with them enable it.
41#seccomp
42shell none
43tracelog
44
45private-cache
46private-dev
47private-tmp
diff --git a/etc/wpspdf.profile b/etc/wpspdf.profile
new file mode 100644
index 000000000..82080acbc
--- /dev/null
+++ b/etc/wpspdf.profile
@@ -0,0 +1,11 @@
1# Firejail profile for wpspdf
2# Description: Kingsoft Pdf Reader
3# This file is overwritten after every install/update
4# Persistent local customizations
5include et.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10# Redirect
11include wps.profile