aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Hans-Christoph Steiner <hans@eds.org>2020-02-27 14:13:24 +0100
committerLibravatar Hans-Christoph Steiner <hans@eds.org>2020-02-27 14:13:24 +0100
commit72f5e973273e8052ea18825a8b31e30c03c36038 (patch)
treea480c7ddc7811320dc60aaa2a19033ad71ee3e33
parentrevive 'net none' in openshot.profile (diff)
downloadfirejail-72f5e973273e8052ea18825a8b31e30c03c36038.tar.gz
firejail-72f5e973273e8052ea18825a8b31e30c03c36038.tar.zst
firejail-72f5e973273e8052ea18825a8b31e30c03c36038.zip
add xournal.profile
-rw-r--r--README.md2
-rw-r--r--RELNOTES2
-rw-r--r--etc/xournal.profile47
-rw-r--r--src/firecfg/firecfg.config1
4 files changed, 50 insertions, 2 deletions
diff --git a/README.md b/README.md
index f90cdb7d4..bc2708041 100644
--- a/README.md
+++ b/README.md
@@ -151,4 +151,4 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe
151 151
152### New profiles: 152### New profiles:
153 153
154gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, gnome-passwordsafe, bibtex, gummi, latex, pdflatex, tex, wpp, wpspdf, wps, et, multimc, gnome-hexgl, com.github.johnfactotum.Foliate, desktopeditors, impressive, mupdf-gl, mupdf-x11, mupdf-x11-curl, muraster, mutool, planmaker18, planmaker18free, presentations18, presentations18free, textmaker18, textmaker18free, teams 154gfeeds, firefox-x11, tvbrowser, rtv, clipgrab, gnome-passwordsafe, bibtex, gummi, latex, pdflatex, tex, wpp, wpspdf, wps, et, multimc, gnome-hexgl, com.github.johnfactotum.Foliate, desktopeditors, impressive, mupdf-gl, mupdf-x11, mupdf-x11-curl, muraster, mutool, planmaker18, planmaker18free, presentations18, presentations18free, textmaker18, textmaker18free, teams, xournal
diff --git a/RELNOTES b/RELNOTES
index ab0dc481d..df0e3ec85 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -8,7 +8,7 @@ firejail (0.9.63) baseline; urgency=low
8 * new profiles: gnome-hexgl, com.github.johnfactotum.Foliate, mupdf-gl, mutool 8 * new profiles: gnome-hexgl, com.github.johnfactotum.Foliate, mupdf-gl, mutool
9 * new profiles: desktopeditors, impressive, planmaker18, planmaker18free 9 * new profiles: desktopeditors, impressive, planmaker18, planmaker18free
10 * new profiles: presentations18, presentations18free, textmaker18, teams 10 * new profiles: presentations18, presentations18free, textmaker18, teams
11 * new profiles: textmaker18free 11 * new profiles: textmaker18free, xournal
12 12
13firejail (0.9.62) baseline; urgency=low 13firejail (0.9.62) baseline; urgency=low
14 * added file-copy-limit in /etc/firejail/firejail.config 14 * added file-copy-limit in /etc/firejail/firejail.config
diff --git a/etc/xournal.profile b/etc/xournal.profile
new file mode 100644
index 000000000..fa5200ea3
--- /dev/null
+++ b/etc/xournal.profile
@@ -0,0 +1,47 @@
1# Firejail profile for xournal
2# Description: Note taking and PDF editing
3# This file is overwritten after every install/update
4# Persistent local customizations
5include xournal.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${DOCUMENTS}
10
11include disable-common.inc
12include disable-devel.inc
13include disable-exec.inc
14include disable-interpreters.inc
15include disable-passwdmgr.inc
16include disable-programs.inc
17include disable-xdg.inc
18
19whitelist /usr/share/xournal
20whitelist /usr/share/poppler
21include whitelist-usr-share-common.inc
22include whitelist-var-common.inc
23
24caps.drop all
25machine-id
26net none
27no3d
28nodbus
29nodvd
30nogroups
31nonewprivs
32noroot
33nosound
34notv
35nou2f
36novideo
37protocol unix
38seccomp
39shell none
40tracelog
41
42private-bin xournal
43private-cache
44private-dev
45private-etc alternatives,fonts,group,machine-id,passwd
46# TODO should use private-lib
47private-tmp
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index adf66f008..4cd4fad6c 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -722,6 +722,7 @@ xmr-stak
722xonotic 722xonotic
723xonotic-glx 723xonotic-glx
724xonotic-sdl 724xonotic-sdl
725xournal
725xpdf 726xpdf
726xplayer 727xplayer
727xplayer-audio-preview 728xplayer-audio-preview