summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--README.md2
-rw-r--r--RELNOTES2
-rw-r--r--etc/anki.profile57
-rw-r--r--etc/disable-programs.inc1
5 files changed, 61 insertions, 3 deletions
diff --git a/README b/README
index 33ba45a88..4bcbdd4b2 100644
--- a/README
+++ b/README
@@ -536,7 +536,7 @@ rusty-snake (https://github.com/rusty-snake)
536 - added profiles: thunderbird-wayland, supertuxkart, ghostwriter 536 - added profiles: thunderbird-wayland, supertuxkart, ghostwriter
537 - added profiles: klavaro, mypaint, mypaint-ora-thumbnailer, nano 537 - added profiles: klavaro, mypaint, mypaint-ora-thumbnailer, nano
538 - added profiles: gajim-history-manager, freemind, nomacs, kid3 538 - added profiles: gajim-history-manager, freemind, nomacs, kid3
539 - added profiles: kid3-qt, kid3-cli 539 - added profiles: kid3-qt, kid3-cli, anki, anki
540 - fixed profiles: kdenlive, bibletime, rhythmbox, gajim, seahorse 540 - fixed profiles: kdenlive, bibletime, rhythmbox, gajim, seahorse
541 - fixed profiles: libreoffice, gnome-maps, wget, seahorse-tool 541 - fixed profiles: libreoffice, gnome-maps, wget, seahorse-tool
542 - hardened profiles: disable-common.inc, disable-programs.inc 542 - hardened profiles: disable-common.inc, disable-programs.inc
diff --git a/README.md b/README.md
index 30256ad4a..29a2fadff 100644
--- a/README.md
+++ b/README.md
@@ -102,5 +102,5 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe
102## Current development version: 0.9.59 102## Current development version: 0.9.59
103 103
104## New profiles: 104## New profiles:
105crow, nyx, klavaro, mypaint, celluoid, nano, transgui, sysprof, simplescreenrecorder, geekbench, xfce4-mixer, pavucontrol, d-feet, seahorse, secret-tool, gnome-keyring, regextester, hardinfo, gnome-system-log, gnome-nettool, netactview, redshift, devhelp, assogiate, subdownloader, font-manager, exfalso, gconf-editor, dconf-editor, mpdris2, sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings, code-oss, pragha, Maelstrom, ostrichriders, bzflag, freeciv, lincity-ng, megaglest, openttd, crawl, crawl-tiles, teeworlds, torcs, tremulous, warsow, lugaru, manaplus, pioneer, scorched3d, widelands, freemind, kid3, kid3-cli, kid3-qt, nomacs, freecol, opencity, openclonk, slashem, vulturesclaw, vultureseye 105crow, nyx, klavaro, mypaint, celluoid, nano, transgui, sysprof, simplescreenrecorder, geekbench, xfce4-mixer, pavucontrol, d-feet, seahorse, secret-tool, gnome-keyring, regextester, hardinfo, gnome-system-log, gnome-nettool, netactview, redshift, devhelp, assogiate, subdownloader, font-manager, exfalso, gconf-editor, dconf-editor, mpdris2, sysprof-cli, seahorse-tool, secret-tool, dconf, gsettings, code-oss, pragha, Maelstrom, ostrichriders, bzflag, freeciv, lincity-ng, megaglest, openttd, crawl, crawl-tiles, teeworlds, torcs, tremulous, warsow, lugaru, manaplus, pioneer, scorched3d, widelands, freemind, kid3, kid3-cli, kid3-qt, nomacs, freecol, opencity, openclonk, slashem, vulturesclaw, vultureseye, anki
106 106
diff --git a/RELNOTES b/RELNOTES
index 6b5f19a8b..3e5329a52 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -11,7 +11,7 @@ firejail (0.9.59) baseline; urgency=low
11 * new profiles: teeworlds, torcs, tremulous, warsow, lugaru, manaplus 11 * new profiles: teeworlds, torcs, tremulous, warsow, lugaru, manaplus
12 * new profiles: pioneer, scorched3d, widelands, freemind, kid3, kid3-qt 12 * new profiles: pioneer, scorched3d, widelands, freemind, kid3, kid3-qt
13 * new profiles: kid3-cli, nomacs, freecol, opencity, openclonk, slashem 13 * new profiles: kid3-cli, nomacs, freecol, opencity, openclonk, slashem
14 * new profiles: vultureseye, vulturesclaw 14 * new profiles: vultureseye, vulturesclaw, anki
15 * memory-deny-write-execute now also blocks memfd_create 15 * memory-deny-write-execute now also blocks memfd_create
16 * drop support for flatpak/snap packages 16 * drop support for flatpak/snap packages
17 17
diff --git a/etc/anki.profile b/etc/anki.profile
new file mode 100644
index 000000000..6ab95dd52
--- /dev/null
+++ b/etc/anki.profile
@@ -0,0 +1,57 @@
1# Firejail profile for anki
2# Description: flexible, intelligent flashcard program
3# This file is overwritten after every install/update
4# Persistent local customizations
5include anki.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${DOCUMENTS}
10noblacklist ${HOME}/.local/share/Anki2
11
12# Allow python (blacklisted by disable-interpreters.inc)
13noblacklist ${PATH}/python2*
14noblacklist ${PATH}/python3*
15noblacklist /usr/lib/python2*
16noblacklist /usr/lib/python3*
17noblacklist /usr/local/lib/python2*
18noblacklist /usr/local/lib/python3*
19
20include disable-common.inc
21include disable-devel.inc
22include disable-exec.inc
23include disable-interpreters.inc
24include disable-passwdmgr.inc
25include disable-programs.inc
26include disable-xdg.inc
27
28whitelist ${DOCUMENTS}
29whitelist ${HOME}/.local/share/Anki2
30include whitelist-common.inc
31include whitelist-var-common.inc
32
33apparmor
34caps.drop all
35machine-id
36netfilter
37no3d
38nodbus
39nodvd
40nogroups
41nonewprivs
42noroot
43nosound
44notv
45nou2f
46novideo
47protocol unix,inet,inet6
48seccomp
49shell none
50tracelog
51
52disable-mnt
53private-bin anki,python*
54private-cache
55private-dev
56private-etc alternatives,ca-certificates,fonts,gtk-2.0,hostname,hosts,machine-id,pki,resolv.conf,Trolltech.conf,ssl
57private-tmp
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc
index f5a40ff5f..96fd80daf 100644
--- a/etc/disable-programs.inc
+++ b/etc/disable-programs.inc
@@ -422,6 +422,7 @@ blacklist ${HOME}/.lmmsrc.xml
422blacklist ${HOME}/.local/lib/vivaldi 422blacklist ${HOME}/.local/lib/vivaldi
423blacklist ${HOME}/.local/share/0ad 423blacklist ${HOME}/.local/share/0ad
424blacklist ${HOME}/.local/share/3909/PapersPlease 424blacklist ${HOME}/.local/share/3909/PapersPlease
425blacklist ${HOME}/.local/share/Anki2
425blacklist ${HOME}/.local/share/Empathy 426blacklist ${HOME}/.local/share/Empathy
426blacklist ${HOME}/.local/share/JetBrains 427blacklist ${HOME}/.local/share/JetBrains
427blacklist ${HOME}/.local/share/Mendeley Ltd. 428blacklist ${HOME}/.local/share/Mendeley Ltd.