diff options
author | 2019-11-24 20:10:13 +0000 | |
---|---|---|
committer | 2019-11-24 20:10:13 +0000 | |
commit | f4fccff8e15348b700e72ae303b081e9f49b58e0 (patch) | |
tree | 55877d63d40fd23aa2a9387a50697a31138429ba /etc/drawio.profile | |
parent | Add new profile: ddgtk (#3057) (diff) | |
download | firejail-f4fccff8e15348b700e72ae303b081e9f49b58e0.tar.gz firejail-f4fccff8e15348b700e72ae303b081e9f49b58e0.tar.zst firejail-f4fccff8e15348b700e72ae303b081e9f49b58e0.zip |
Add new profile: drawio (#3058)
* Create drawio.profile
* Add drawio config to disable-programs.inc
* Add drawio to firecfg.config
Diffstat (limited to 'etc/drawio.profile')
-rw-r--r-- | etc/drawio.profile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/etc/drawio.profile b/etc/drawio.profile new file mode 100644 index 000000000..b50fc6b66 --- /dev/null +++ b/etc/drawio.profile | |||
@@ -0,0 +1,53 @@ | |||
1 | # Firejail profile for drawio | ||
2 | # Description: Diagram drawing application built on web technology - desktop version | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include drawio.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/draw.io | ||
10 | |||
11 | whitelist ${DOWNLOADS} | ||
12 | |||
13 | include disable-common.inc | ||
14 | include disable-devel.inc | ||
15 | include disable-exec.inc | ||
16 | include disable-interpreters.inc | ||
17 | include disable-passwdmgr.inc | ||
18 | include disable-programs.inc | ||
19 | include disable-xdg.inc | ||
20 | |||
21 | mkdir ${HOME}/.config/draw.io | ||
22 | whitelist ${HOME}/.config/draw.io | ||
23 | |||
24 | include whitelist-common.inc | ||
25 | include whitelist-usr-share-common.inc | ||
26 | include whitelist-var-common.inc | ||
27 | |||
28 | apparmor | ||
29 | caps.drop all | ||
30 | ipc-namespace | ||
31 | machine-id | ||
32 | net none | ||
33 | nodbus | ||
34 | nodvd | ||
35 | nogroups | ||
36 | nonewprivs | ||
37 | noroot | ||
38 | nosound | ||
39 | notv | ||
40 | nou2f | ||
41 | novideo | ||
42 | protocol unix | ||
43 | seccomp !chroot | ||
44 | shell none | ||
45 | # tracelog - breaks on Arch | ||
46 | |||
47 | private-bin drawio | ||
48 | private-cache | ||
49 | private-dev | ||
50 | private-etc alternatives,fonts | ||
51 | private-tmp | ||
52 | |||
53 | # memory-deny-write-execute - breaks on Arch | ||