diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2019-02-21 01:58:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 01:58:55 +0000 |
commit | fdbee9aa201bb380abe408afc7030cfae4fe2979 (patch) | |
tree | 900504a6015b37c7cd564f9cf8b18bada47ced0d /etc | |
parent | Merge pull request #2437 from glitsj16/machine-id (diff) | |
parent | Add devhelp to firecfg (diff) | |
download | firejail-fdbee9aa201bb380abe408afc7030cfae4fe2979.tar.gz firejail-fdbee9aa201bb380abe408afc7030cfae4fe2979.tar.zst firejail-fdbee9aa201bb380abe408afc7030cfae4fe2979.zip |
Merge pull request #2438 from glitsj16/devhelp
Add devhelp profile
Diffstat (limited to 'etc')
-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} | ||