Debian Codegraph @

etc/profile-a-l/gimp.profile

raw
1 # Firejail profile for gimp
2 # Description: GNU Image Manipulation Program
3 # This file is overwritten after every install/update
4 # Persistent local customizations
5 include gimp.local
6 # Persistent global definitions
7 include globals.local
8
9 # Add the next lines to your gimp.local in order to support scanning via xsane (see #3640).
10 # TODO: Replace 'ignore seccomp' with a less permissive option.
11 #ignore seccomp
12 #ignore dbus-system
13 #ignore net
14 #protocol unix,inet,inet6
15
16 # gimp plugins are installed by the user in ${HOME}/.gimp-2.8/plug-ins/ directory
17 # If you are not using external plugins, you can add 'noexec ${HOME}' to your gimp.local.
18 ignore noexec ${HOME}
19
20 noblacklist ${HOME}/.cache/babl
21 noblacklist ${HOME}/.cache/gegl-0.4
22 noblacklist ${HOME}/.cache/gimp
23 noblacklist ${HOME}/.config/GIMP
24 noblacklist ${HOME}/.gimp*
25 noblacklist ${DOCUMENTS}
26 noblacklist ${PICTURES}
27
28 # See issue #4367, gimp 2.10.22-3: gegl:introspect broken
29 noblacklist /sbin
30 noblacklist /usr/sbin
31
32 include disable-common.inc
33 include disable-exec.inc
34 include disable-devel.inc
35 include disable-programs.inc
36 include disable-xdg.inc
37
38 whitelist /usr/share/gegl-0.4
39 whitelist /usr/share/gimp
40 whitelist /usr/share/mypaint-data
41 whitelist /usr/share/lensfun
42 include whitelist-run-common.inc
43 include whitelist-usr-share-common.inc
44 include whitelist-var-common.inc
45
46 apparmor
47 caps.drop all
48 net none
49 nodvd
50 nogroups
51 noinput
52 nonewprivs
53 noroot
54 nosound
55 notv
56 nou2f
57 protocol unix
58 seccomp !mbind
59 tracelog
60
61 private-dev
62 private-etc @x11,gimp,python*
63 private-tmp
64
65 dbus-user none
66 dbus-system none
67
68 restrict-namespaces