diff options
Diffstat (limited to 'etc/profile-a-l/gjs.profile')
-rw-r--r-- | etc/profile-a-l/gjs.profile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/etc/profile-a-l/gjs.profile b/etc/profile-a-l/gjs.profile new file mode 100644 index 000000000..9c8848b8a --- /dev/null +++ b/etc/profile-a-l/gjs.profile | |||
@@ -0,0 +1,45 @@ | |||
1 | # Firejail profile for gjs | ||
2 | # Description: Mozilla-based javascript bindings for the GNOME platform | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include gjs.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | # when gjs apps are started via gnome-shell, firejail is not applied because systemd will start them | ||
10 | |||
11 | noblacklist ${HOME}/.cache/libgweather | ||
12 | noblacklist ${HOME}/.cache/org.gnome.Books | ||
13 | noblacklist ${HOME}/.config/libreoffice | ||
14 | noblacklist ${HOME}/.local/share/gnome-photos | ||
15 | |||
16 | # Allow gjs (blacklisted by disable-interpreters.inc) | ||
17 | include allow-gjs.inc | ||
18 | |||
19 | include disable-common.inc | ||
20 | include disable-devel.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-passwdmgr.inc | ||
23 | include disable-programs.inc | ||
24 | |||
25 | include whitelist-runuser-common.inc | ||
26 | include whitelist-usr-share-common.inc | ||
27 | include whitelist-var-common.inc | ||
28 | |||
29 | caps.drop all | ||
30 | netfilter | ||
31 | nodvd | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | noroot | ||
35 | notv | ||
36 | nou2f | ||
37 | protocol unix,inet,inet6 | ||
38 | seccomp | ||
39 | shell none | ||
40 | tracelog | ||
41 | |||
42 | # private-bin gjs,gnome-books,gnome-documents,gnome-maps,gnome-photos,gnome-weather | ||
43 | private-dev | ||
44 | # private-etc alternatives,ca-certificates,crypto-policies,fonts,pki,ssl | ||
45 | private-tmp | ||