diff options
author | 2019-02-21 01:56:16 +0000 | |
---|---|---|
committer | 2019-02-21 01:56:16 +0000 | |
commit | a16f8af7e1a580b44c78f5b277f183bc71bd6b71 (patch) | |
tree | 6306eba53d292422f9757cf67b24eeb757936575 | |
parent | Merge pull request #2437 from glitsj16/machine-id (diff) | |
download | firejail-a16f8af7e1a580b44c78f5b277f183bc71bd6b71.tar.gz firejail-a16f8af7e1a580b44c78f5b277f183bc71bd6b71.tar.zst firejail-a16f8af7e1a580b44c78f5b277f183bc71bd6b71.zip |
Create devhelp.profile
-rw-r--r-- | etc/devhelp.profile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/devhelp.profile b/etc/devhelp.profile new file mode 100644 index 000000000..9d690e993 --- /dev/null +++ b/etc/devhelp.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for devhelp | ||
2 | # Description: API documentation browser for GNOME | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include devhelp.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | mkdir ${HOME}/.cache/mesa_shader_cache | ||
10 | whitelist ${HOME}/.cache/mesa_shader_cache | ||
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 | include whitelist-common.inc | ||
20 | |||
21 | apparmor | ||
22 | caps.drop all | ||
23 | # machine-id breaks audio; it should work fine in setups where sound is not required | ||
24 | machine-id | ||
25 | net none | ||
26 | # nodbus - makes settings immutable | ||
27 | nodvd | ||
28 | nogroups | ||
29 | nonewprivs | ||
30 | noroot | ||
31 | nosound | ||
32 | notv | ||
33 | nou2f | ||
34 | novideo | ||
35 | protocol unix | ||
36 | seccomp | ||
37 | shell none | ||
38 | tracelog | ||
39 | |||
40 | disable-mnt | ||
41 | private-bin devhelp | ||
42 | private-cache | ||
43 | private-dev | ||
44 | private-etc alternatives,fonts | ||
45 | private-tmp | ||
46 | |||
47 | # memory-deny-write-execute - Breaks on Arch | ||
48 | noexec ${HOME} | ||
49 | noexec /tmp | ||
50 | |||
51 | # devhelp will never write anything | ||
52 | read-only ${HOME} | ||