aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar Florian Begusch <26567162+florianbegusch@users.noreply.github.com>2020-01-29 12:53:17 +0000
committerLibravatar GitHub <noreply@github.com>2020-01-29 12:53:17 +0000
commit18942dbeed8d959735651e2a2162627f82a5f3fe (patch)
tree446d4d9a67135dea417e3da9ec80f96a100b210a /etc
parentdisable private-lib in zathura.profile (diff)
downloadfirejail-18942dbeed8d959735651e2a2162627f82a5f3fe.tar.gz
firejail-18942dbeed8d959735651e2a2162627f82a5f3fe.tar.zst
firejail-18942dbeed8d959735651e2a2162627f82a5f3fe.zip
Add profiles for common (la)tex commands and a latex editor (#3159)
Diffstat (limited to 'etc')
-rw-r--r--etc/bibtex.profile12
-rw-r--r--etc/disable-programs.inc1
-rw-r--r--etc/gummi.profile18
-rw-r--r--etc/latex-common.profile39
-rw-r--r--etc/latex.profile12
-rw-r--r--etc/pdflatex.profile12
-rw-r--r--etc/tex.profile12
7 files changed, 106 insertions, 0 deletions
diff --git a/etc/bibtex.profile b/etc/bibtex.profile
new file mode 100644
index 000000000..e868dcbab
--- /dev/null
+++ b/etc/bibtex.profile
@@ -0,0 +1,12 @@
1# Firejail profile for bibtex
2# This file is overwritten after every install/update
3# Persistent local customizations
4include bibtex.local
5# Persistent global definitions
6include globals.local
7
8private-bin bibtex
9
10# Redirect
11include latex-common.profile
12
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index 2eac1338e..44982ede0 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -200,6 +200,7 @@ blacklist ${HOME}/.config/google-chrome-beta
200blacklist ${HOME}/.config/google-chrome-unstable 200blacklist ${HOME}/.config/google-chrome-unstable
201blacklist ${HOME}/.config/gpicview 201blacklist ${HOME}/.config/gpicview
202blacklist ${HOME}/.config/gthumb 202blacklist ${HOME}/.config/gthumb
203blacklist ${HOME}/.config/gummi
203blacklist ${HOME}/.config/gwenviewrc 204blacklist ${HOME}/.config/gwenviewrc
204blacklist ${HOME}/.config/hexchat 205blacklist ${HOME}/.config/hexchat
205blacklist ${HOME}/.config/i2p 206blacklist ${HOME}/.config/i2p
diff --git a/etc/gummi.profile b/etc/gummi.profile
new file mode 100644
index 000000000..9fb8e3da5
--- /dev/null
+++ b/etc/gummi.profile
@@ -0,0 +1,18 @@
1# Firejail profile for gummi
2# This file is overwritten after every install/update
3# Persistent local customizations
4include gummi.local
5# Persistent global definitions
6include globals.local
7
8noblacklist ${HOME}/.config/gummi
9
10include allow-lua.inc
11include allow-perl.inc
12include allow-python3.inc
13
14private-bin dvipdf,dvips,env,gummi,latex,latexmk,lua*,lualatex,luatex,pdflatex,pdftex,perl,ps2pdf,python3*,rubber,synctex,tex,xelatex,xetex
15
16# Redirect
17include latex-common.profile
18
diff --git a/etc/latex-common.profile b/etc/latex-common.profile
new file mode 100644
index 000000000..712ada722
--- /dev/null
+++ b/etc/latex-common.profile
@@ -0,0 +1,39 @@
1# Firejail profile for latex-common
2# This file is overwritten after every install/update
3# Persistent local customizations
4include latex-common.local
5# Persistent global definitions
6# added by caller profile
7#include globals.local
8
9include disable-common.inc
10include disable-devel.inc
11include disable-exec.inc
12include disable-interpreters.inc
13include disable-passwdmgr.inc
14include disable-programs.inc
15
16whitelist /var/lib
17include whitelist-var-common.inc
18
19caps.drop all
20net none
21no3d
22nodbus
23nodvd
24nogroups
25nonewprivs
26noroot
27nosound
28notv
29nou2f
30novideo
31protocol unix
32seccomp
33shell none
34tracelog
35
36private-cache
37private-dev
38private-tmp
39
diff --git a/etc/latex.profile b/etc/latex.profile
new file mode 100644
index 000000000..2230dd570
--- /dev/null
+++ b/etc/latex.profile
@@ -0,0 +1,12 @@
1# Firejail profile for latex
2# This file is overwritten after every install/update
3# Persistent local customizations
4include latex.local
5# Persistent global definitions
6include globals.local
7
8private-bin latex
9
10# Redirect
11include latex-common.profile
12
diff --git a/etc/pdflatex.profile b/etc/pdflatex.profile
new file mode 100644
index 000000000..caf980d4d
--- /dev/null
+++ b/etc/pdflatex.profile
@@ -0,0 +1,12 @@
1# Firejail profile for pdflatex
2# This file is overwritten after every install/update
3# Persistent local customizations
4include pdflatex.local
5# Persistent global definitions
6include globals.local
7
8private-bin pdflatex
9
10# Redirect
11include latex-common.profile
12
diff --git a/etc/tex.profile b/etc/tex.profile
new file mode 100644
index 000000000..f56c3038e
--- /dev/null
+++ b/etc/tex.profile
@@ -0,0 +1,12 @@
1# Firejail profile for tex
2# This file is overwritten after every install/update
3# Persistent local customizations
4include tex.local
5# Persistent global definitions
6include globals.local
7
8private-bin tex
9
10# Redirect
11include latex-common.profile
12