summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-06-02 13:15:51 +0200
committerLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-06-02 13:15:51 +0200
commit31325cb3e0b4f190438fa9e2f8ad6a19372829f6 (patch)
treede47d761cede72b071a83403f3098c4bb485af8e /etc
parentinstalling etc/templates in /usr/share/doc/firejail directory (diff)
downloadfirejail-31325cb3e0b4f190438fa9e2f8ad6a19372829f6.tar.gz
firejail-31325cb3e0b4f190438fa9e2f8ad6a19372829f6.tar.zst
firejail-31325cb3e0b4f190438fa9e2f8ad6a19372829f6.zip
Add profiles for klatexformula, klatexformula_cmdl
Diffstat (limited to 'etc')
-rw-r--r--etc/disable-programs.inc2
-rw-r--r--etc/klatexformula.profile43
-rw-r--r--etc/klatexformula_cmdl.profile5
3 files changed, 50 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 5481f976f..1c3ff7840 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -370,6 +370,7 @@ blacklist ${HOME}/.kde/share/apps/kaffeine
370blacklist ${HOME}/.kde/share/apps/kcookiejar 370blacklist ${HOME}/.kde/share/apps/kcookiejar
371blacklist ${HOME}/.kde/share/apps/kget 371blacklist ${HOME}/.kde/share/apps/kget
372blacklist ${HOME}/.kde/share/apps/khtml 372blacklist ${HOME}/.kde/share/apps/khtml
373blacklist ${HOME}/.kde/share/apps/klatexformula
373blacklist ${HOME}/.kde/share/apps/konqsidebartng 374blacklist ${HOME}/.kde/share/apps/konqsidebartng
374blacklist ${HOME}/.kde/share/apps/konqueror 375blacklist ${HOME}/.kde/share/apps/konqueror
375blacklist ${HOME}/.kde/share/apps/kopete 376blacklist ${HOME}/.kde/share/apps/kopete
@@ -426,6 +427,7 @@ blacklist ${HOME}/.kde4/share/config/okularrc
426blacklist ${HOME}/.killingfloor 427blacklist ${HOME}/.killingfloor
427blacklist ${HOME}/.kino-history 428blacklist ${HOME}/.kino-history
428blacklist ${HOME}/.kinorc 429blacklist ${HOME}/.kinorc
430blacklist ${HOME}/.klatexformula
429blacklist ${HOME}/.kodi 431blacklist ${HOME}/.kodi
430blacklist ${HOME}/.lincity-ng 432blacklist ${HOME}/.lincity-ng
431blacklist ${HOME}/.linphone-history.db 433blacklist ${HOME}/.linphone-history.db
diff --git a/etc/klatexformula.profile b/etc/klatexformula.profile
new file mode 100644
index 000000000..d584f6a56
--- /dev/null
+++ b/etc/klatexformula.profile
@@ -0,0 +1,43 @@
1# Firejail profile for klatexformula
2# Description: generating images from LaTeX equations
3# This file is overwritten after every install/update
4# Persistent local customizations
5include klatexformula.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.kde/share/apps/klatexformula
10noblacklist ${HOME}/.klatexformula
11
12# Allow python (blacklisted by disable-interpreters.inc)
13include allow-python2.inc
14include allow-python3.inc
15
16include disable-common.inc
17include disable-devel.inc
18include disable-exec.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22
23apparmor
24caps.drop all
25machine-id
26net none
27nodbus
28nodvd
29nogroups
30nonewprivs
31noroot
32nosound
33notv
34nou2f
35novideo
36protocol unix
37seccomp
38shell none
39tracelog
40
41private-cache
42private-dev
43private-tmp
diff --git a/etc/klatexformula_cmdl.profile b/etc/klatexformula_cmdl.profile
new file mode 100644
index 000000000..9137963c4
--- /dev/null
+++ b/etc/klatexformula_cmdl.profile
@@ -0,0 +1,5 @@
1# Firejail profile alias for klatexformula_cmdl
2# This file is overwritten after every install/update
3
4# Redirect
5include klatexformula.profile