diff options
author | 2021-09-19 18:31:52 -0800 | |
---|---|---|
committer | 2021-09-20 23:51:26 +1200 | |
commit | df53dcec8aa036ca99b244df3ddddd6ac48aa28b (patch) | |
tree | 4a3dd29bcbbb12eee59e6e330df7e38ae5b9a933 | |
parent | Let programs outside librewolf sandbox open new tabs in librewolf (#4546) (diff) | |
download | firejail-df53dcec8aa036ca99b244df3ddddd6ac48aa28b.tar.gz firejail-df53dcec8aa036ca99b244df3ddddd6ac48aa28b.tar.zst firejail-df53dcec8aa036ca99b244df3ddddd6ac48aa28b.zip |
Create goldendict.profile
-rw-r--r-- | etc/inc/disable-programs.inc | 2 | ||||
-rw-r--r-- | etc/profile-a-l/goldendict.profile | 57 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 60 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 4941630a2..e77ceb41c 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -502,6 +502,7 @@ blacklist ${HOME}/.gitconfig | |||
502 | blacklist ${HOME}/.gl-117 | 502 | blacklist ${HOME}/.gl-117 |
503 | blacklist ${HOME}/.glaxiumrc | 503 | blacklist ${HOME}/.glaxiumrc |
504 | blacklist ${HOME}/.gnome/gnome-schedule | 504 | blacklist ${HOME}/.gnome/gnome-schedule |
505 | blacklist ${HOME}/.goldendict | ||
505 | blacklist ${HOME}/.googleearth | 506 | blacklist ${HOME}/.googleearth |
506 | blacklist ${HOME}/.gradle | 507 | blacklist ${HOME}/.gradle |
507 | blacklist ${HOME}/.gramps | 508 | blacklist ${HOME}/.gramps |
@@ -967,6 +968,7 @@ blacklist ${HOME}/.cache/Enpass | |||
967 | blacklist ${HOME}/.cache/Ferdi | 968 | blacklist ${HOME}/.cache/Ferdi |
968 | blacklist ${HOME}/.cache/Flavio Tordini | 969 | blacklist ${HOME}/.cache/Flavio Tordini |
969 | blacklist ${HOME}/.cache/Franz | 970 | blacklist ${HOME}/.cache/Franz |
971 | blacklist ${HOME}/.cache/GoldenDict | ||
970 | blacklist ${HOME}/.cache/INRIA | 972 | blacklist ${HOME}/.cache/INRIA |
971 | blacklist ${HOME}/.cache/INRIA/Natron | 973 | blacklist ${HOME}/.cache/INRIA/Natron |
972 | blacklist ${HOME}/.cache/KDE/neochat | 974 | blacklist ${HOME}/.cache/KDE/neochat |
diff --git a/etc/profile-a-l/goldendict.profile b/etc/profile-a-l/goldendict.profile new file mode 100644 index 000000000..59a572319 --- /dev/null +++ b/etc/profile-a-l/goldendict.profile | |||
@@ -0,0 +1,57 @@ | |||
1 | # Firejail profile for goldendict | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include goldendict.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | noblacklist ${HOME}/.goldendict | ||
9 | noblacklist ${HOME}/.cache/GoldenDict | ||
10 | |||
11 | include disable-common.inc | ||
12 | include disable-devel.inc | ||
13 | include disable-exec.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-programs.inc | ||
16 | include disable-shell.inc | ||
17 | include disable-xdg.inc | ||
18 | |||
19 | mkdir ${HOME}/.goldendict | ||
20 | mkdir ${HOME}/.cache/GoldenDict | ||
21 | whitelist ${HOME}/.goldendict | ||
22 | whitelist ${HOME}/.cache/GoldenDict | ||
23 | # The default path of dictionaries | ||
24 | whitelist /usr/share/stardict/dic | ||
25 | include whitelist-common.inc | ||
26 | include whitelist-runuser-common.inc | ||
27 | include whitelist-usr-share-common.inc | ||
28 | include whitelist-var-common.inc | ||
29 | |||
30 | apparmor | ||
31 | caps.drop all | ||
32 | netfilter | ||
33 | # no3d leads to the libGL MESA-LOADER errors | ||
34 | #no3d | ||
35 | nodvd | ||
36 | nogroups | ||
37 | noinput | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | notv | ||
41 | nou2f | ||
42 | novideo | ||
43 | protocol unix,inet,inet6,netlink | ||
44 | seccomp | ||
45 | seccomp.block-secondary | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private-bin goldendict | ||
51 | private-cache | ||
52 | private-dev | ||
53 | private-etc ca-certificates,crypto-policies,fonts,ld.so.preload,machine-id,nsswitch.conf,pki,resolv.conf,ssl | ||
54 | private-tmp | ||
55 | |||
56 | dbus-user none | ||
57 | dbus-system none | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 698630180..a544e25f2 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -348,6 +348,7 @@ gnome-weather | |||
348 | gnote | 348 | gnote |
349 | gnubik | 349 | gnubik |
350 | godot | 350 | godot |
351 | goldendict | ||
351 | goobox | 352 | goobox |
352 | google-chrome | 353 | google-chrome |
353 | google-chrome-beta | 354 | google-chrome-beta |