Debian Codegraph @

etc/profile-a-l/gnome-maps.profile

raw
1 # Firejail profile for gnome-maps
2 # Description: Map application for GNOME
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include gnome-maps.local
6 # Persistent global definitions
7 include globals.local
8
9 # Some distributions use gapplications to start gnome-maps over D-Bus. As firecfg cannot handle that, you need to run the following command.
10 # sed -e "s/Exec=gapplication launch org.gnome.Maps %U/Exec=gnome-maps %U/" -e "s/DBusActivatable=true/DBusActivatable=false/" "/usr/share/applications/org.gnome.Maps.desktop" > "~/.local/share/applications/org.gnome.Maps.desktop"
11
12 # when gjs apps are started via gnome-shell, firejail is not applied because systemd will start them
13
14 noblacklist ${HOME}/.cache/champlain
15 noblacklist ${HOME}/.cache/org.gnome.Maps
16 noblacklist ${HOME}/.local/share/maps-places.json
17
18 # Allow gjs (blacklisted by disable-interpreters.inc)
19 include allow-gjs.inc
20
21 # uses libgdk-pixbuf and/or glycin - see #6906
22 #blacklist /usr/libexec
23
24 include disable-common.inc
25 include disable-devel.inc
26 include disable-exec.inc
27 include disable-interpreters.inc
28 include disable-programs.inc
29 include disable-shell.inc
30 include disable-xdg.inc
31
32 mkdir ${HOME}/.cache/champlain
33 mkfile ${HOME}/.local/share/maps-places.json
34 whitelist ${HOME}/.cache/champlain
35 whitelist ${HOME}/.local/share/maps-places.json
36 whitelist ${DOWNLOADS}
37 whitelist ${PICTURES}
38 whitelist /usr/share/gnome-maps
39 whitelist /usr/share/libgweather
40 include whitelist-common.inc
41 include whitelist-runuser-common.inc
42 include whitelist-usr-share-common.inc
43 include whitelist-var-common.inc
44
45 apparmor
46 caps.drop all
47 machine-id
48 netfilter
49 nodvd
50 nogroups
51 noinput
52 nonewprivs
53 noroot
54 nosound
55 notv
56 nou2f
57 novideo
58 protocol unix,inet,inet6
59 seccomp
60 seccomp.block-secondary
61 tracelog
62
63 disable-mnt
64 private-bin gjs,gnome-maps
65 #private-cache # gnome-maps cache all maps/satelite-images
66 private-dev
67 private-etc @tls-ca,@x11,clutter-1.0,gconf,host.conf,mime.types,pkcs11,rpc,services
68 private-tmp
69
70 dbus-user filter
71 dbus-user.own org.gnome.Maps
72 #dbus-user.talk org.freedesktop.secrets
73 #dbus-user.talk org.gnome.OnlineAccounts
74 dbus-system filter
75 #dbus-system.talk org.freedesktop.NetworkManager
76 dbus-system.talk org.freedesktop.GeoClue2
77
78 restrict-namespaces