diff options
author | 2019-02-06 15:57:40 +0100 | |
---|---|---|
committer | 2019-02-06 15:57:40 +0100 | |
commit | 82e97d2ebfd45fe25996ed48b7a1321892e3e4cb (patch) | |
tree | 54b5c4de3d89796e7d4beec826dd0d9d98cfb169 | |
parent | fix small memleak (diff) | |
download | firejail-82e97d2ebfd45fe25996ed48b7a1321892e3e4cb.tar.gz firejail-82e97d2ebfd45fe25996ed48b7a1321892e3e4cb.tar.zst firejail-82e97d2ebfd45fe25996ed48b7a1321892e3e4cb.zip |
Add a profile for klavaro
-rw-r--r-- | etc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/klavaro.profile | 55 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 58 insertions, 0 deletions
diff --git a/etc/disable-programs.inc b/etc/disable-programs.inc index 7b7792ffa..c62524175 100644 --- a/etc/disable-programs.inc +++ b/etc/disable-programs.inc | |||
@@ -176,6 +176,7 @@ blacklist ${HOME}/.config/katesyntaxhighlightingrc | |||
176 | blacklist ${HOME}/.config/katevirc | 176 | blacklist ${HOME}/.config/katevirc |
177 | blacklist ${HOME}/.config/kdenliverc | 177 | blacklist ${HOME}/.config/kdenliverc |
178 | blacklist ${HOME}/.config/kgetrc | 178 | blacklist ${HOME}/.config/kgetrc |
179 | blacklist ${HOME}/.config/klavaro | ||
179 | blacklist ${HOME}/.config/klipperrc | 180 | blacklist ${HOME}/.config/klipperrc |
180 | blacklist ${HOME}/.config/kmail2rc | 181 | blacklist ${HOME}/.config/kmail2rc |
181 | blacklist ${HOME}/.config/kmailsearchindexingrc | 182 | blacklist ${HOME}/.config/kmailsearchindexingrc |
@@ -432,6 +433,7 @@ blacklist ${HOME}/.local/share/kaffeine | |||
432 | blacklist ${HOME}/.local/share/kate | 433 | blacklist ${HOME}/.local/share/kate |
433 | blacklist ${HOME}/.local/share/kdenlive | 434 | blacklist ${HOME}/.local/share/kdenlive |
434 | blacklist ${HOME}/.local/share/kget | 435 | blacklist ${HOME}/.local/share/kget |
436 | blacklist ${HOME}/.local/share/klavaro | ||
435 | blacklist ${HOME}/.local/share/kmail2 | 437 | blacklist ${HOME}/.local/share/kmail2 |
436 | blacklist ${HOME}/.local/share/knotes | 438 | blacklist ${HOME}/.local/share/knotes |
437 | blacklist ${HOME}/.local/share/krita | 439 | blacklist ${HOME}/.local/share/krita |
diff --git a/etc/klavaro.profile b/etc/klavaro.profile new file mode 100644 index 000000000..a172f08f2 --- /dev/null +++ b/etc/klavaro.profile | |||
@@ -0,0 +1,55 @@ | |||
1 | # Firejail profile for klavaro | ||
2 | # Description: Yet another touch typing tutor | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include klavaro.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/klavaro | ||
10 | noblacklist ${HOME}/.local/share/klavaro | ||
11 | |||
12 | include disable-common.inc | ||
13 | include disable-devel.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-passwdmgr.inc | ||
16 | include disable-programs.inc | ||
17 | include disable-xdg.inc | ||
18 | |||
19 | mkdir ${HOME}/.local/share/klavaro | ||
20 | mkdir ${HOME}/.config/klavaro | ||
21 | whitelist ${HOME}/.local/share/klavaro | ||
22 | whitelist ${HOME}/.config/klavaro | ||
23 | include whitelist-common.inc | ||
24 | |||
25 | apparmor | ||
26 | caps.drop all | ||
27 | machine-id | ||
28 | netfilter | ||
29 | no3d | ||
30 | nodbus | ||
31 | nodvd | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | noroot | ||
35 | notv | ||
36 | nou2f | ||
37 | novideo | ||
38 | protocol unix | ||
39 | seccomp | ||
40 | shell none | ||
41 | tracelog | ||
42 | |||
43 | disable-mnt | ||
44 | private-bin klavaro | ||
45 | private-cache | ||
46 | private-dev | ||
47 | private-etc fonts | ||
48 | private-lib | ||
49 | private-tmp | ||
50 | private-opt none | ||
51 | private-srv none | ||
52 | |||
53 | memory-deny-write-execute | ||
54 | noexec ${HOME} | ||
55 | noexec /tmp | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 21dcd8f20..4e3e00354 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -245,6 +245,7 @@ keepassx2 | |||
245 | keepassxc | 245 | keepassxc |
246 | kget | 246 | kget |
247 | kino | 247 | kino |
248 | klavaro | ||
248 | kmail | 249 | kmail |
249 | knotes | 250 | knotes |
250 | kodi | 251 | kodi |