diff options
author | 2019-02-06 19:35:32 +0000 | |
---|---|---|
committer | 2019-02-06 19:35:32 +0000 | |
commit | 4a8d5c105e2ba4a83f62061cdbbde238d46393b0 (patch) | |
tree | aeec6e4c5704d7f0e758431029a1778f3f073e55 /etc | |
parent | Merge branch 'master' of https://github.com/netblue30/firejail (diff) | |
parent | Review klavaro.profile (diff) | |
download | firejail-4a8d5c105e2ba4a83f62061cdbbde238d46393b0.tar.gz firejail-4a8d5c105e2ba4a83f62061cdbbde238d46393b0.tar.zst firejail-4a8d5c105e2ba4a83f62061cdbbde238d46393b0.zip |
Merge pull request #2391 from rusty-snake/add_klavaro-profile
Add a profile for klavaro
Diffstat (limited to 'etc')
-rw-r--r-- | etc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/klavaro.profile | 55 |
2 files changed, 57 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..fe0bd1556 --- /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 | include whitelist-var-common.inc | ||
25 | |||
26 | apparmor | ||
27 | caps.drop all | ||
28 | machine-id | ||
29 | net none | ||
30 | no3d | ||
31 | nodbus | ||
32 | nodvd | ||
33 | nogroups | ||
34 | nonewprivs | ||
35 | noroot | ||
36 | notv | ||
37 | nou2f | ||
38 | novideo | ||
39 | protocol unix | ||
40 | seccomp | ||
41 | shell none | ||
42 | tracelog | ||
43 | |||
44 | disable-mnt | ||
45 | private-bin klavaro,tclsh,tclsh* | ||
46 | private-cache | ||
47 | private-dev | ||
48 | private-etc fonts | ||
49 | private-tmp | ||
50 | private-opt none | ||
51 | private-srv none | ||
52 | |||
53 | memory-deny-write-execute | ||
54 | noexec ${HOME} | ||
55 | noexec /tmp | ||